Questions tagged [microsoft-oauth]
18 questions
13
votes
3 answers
Microsoft Graph API not returning refresh token
I created an app on https://apps.dev.microsoft.com
with the following Application Permissions:
Calendars.Read (Admin Only) Calendars.ReadWrite (Admin Only) User.Read.All (Admin Only)
The following is the only flow that has worked for me to be able…

karel
- 468
- 5
- 14
1
vote
1 answer
Microsoft OAuth - After sign in how do I get the user's email and display name?
I'm adding Microsoft Authentication to Firebase. I'm able to login successfully but I need the user's email and display name. How can I fetch this? So far this is what I have.
export function* signInWithMicrosoft() {
yield…

Azrael 998
- 35
- 1
- 6
1
vote
2 answers
Advice on how to set single redirectURL for EXPO react native app for use with MS Azure AD Authentication
I'm using Expo to get started with an app which authenticates with Azure AD Oauth as per: https://docs.expo.dev/guides/authentication/#azure
It works with a single redirect URL exp://host:port with Expo Go.
However, when I build the app, I simply…

ISDr
- 209
- 2
- 7
1
vote
1 answer
Microsoft outlook authentication oAuth2.0
We have a daemon application that makes IMAP connection to access mailbox of user. Earlier we were using plain authentication method of using email ID and password to establish IMAP connection. Now as Microsoft has blocked this type authentication…

Faisal Iqbal
- 11
- 3
1
vote
1 answer
Microsoft/Azure OAuth failing, my organization lacks a service principal
I've been trying to use the Bing Ads API, but can't even make it past the first step. I've followed these steps to the letter, but am getting stuck at the part where I need to ask for user consent.
I've created an app, and copied all the details…

Jul
- 375
- 5
- 18
0
votes
1 answer
OAuth. Resource server uses the wrong Authentication URI (Bearer error=invalid_token)
In a service-to-service oauth communication, I'm trying to send a token request to an external Oauth Token Endpoint and to use the token as a Bearer for a Microsoft solution (Dynamics CRM v.9.1 On-Premises).
The platform used should not be so…

Claudio Ferraro
- 4,551
- 6
- 43
- 78
0
votes
0 answers
Proper way to redirect user to another activity after when using startActivityForSignInWithProvider?
I am new to using firebase auth with providers so bear with me.
In the documentation for FirebaseAuth using microsoft, it says:
*
Authenticate with Firebase using the OAuth provider object. Note that unlike other FirebaseAuth operations, this will…
0
votes
0 answers
I can't connect in stmp auth with laravel 5.5 using swift transport
I try connect using $transport->setAuthMode('XOAUTH2') and using the token but always i get error 535 same being all credentials right and in azure ad also.
I would like to connect me using the token and also i want to know if it's possible connect…
0
votes
0 answers
Unable to perform sso authentication to authorization url of /authorize of Microsoft OAuth2.0
I am unable to perform sso authentication to authorization url of /authorize of Microsoft OAuth2.0 using curl command in command line.
Below is my curl request:
curl --user "user:password" -X POST -d …

Rithik Raj
- 1
- 1
0
votes
0 answers
Is there a way to check OAuth token expiry for MSAL library of Microsoft?
I have this code which generates an OAuth token:
public class MsalAuthenticator
{
private readonly string _clientScope;
private readonly string _clientTenantId;
private readonly IConfidentialClientApplication _app;
public…

tRuEsAtM
- 3,517
- 6
- 43
- 83
0
votes
1 answer
How to integrate Outlook calendar for MS work account users using Spring Boot?
I want to build a feature where I want to sync users outlook calendar with my app. Any event which users create/reschedule/delete from my app should reflect in users outlook calendars. First step for this however would be getting access token and…

deathByChocolate
- 23
- 5
0
votes
2 answers
How to get a refresh token with oauth in microsoft365?
I am trying to use microsoft365 and oauth to get an access and refresh token. According to Microsoft 365 docs, we need to use the "offline_access" scope to get a refresh token along with access token. However, The response I am getting does not…

archangel78
- 13
- 2
0
votes
1 answer
How do I get a user's organization id when they login with Microsoft oauth?
I try to implement the microsoft auth into my application using Laravel Socialite, but since I'm working in a multi-tenant environment, I need to assign a user to a organisation. Is there anything such a microsoft organisation id or a domain name I…

JanKrb
- 1
- 2
0
votes
1 answer
Why do I get, "Firebase: Error getting verification code from microsoft.com response: ..." when implementing Microsoft SSO Provider?
I'm using StyledFirebaseAuth to add Google, Microsoft, and Email/Password Authentication Buttons to my login experience for my users. Google and Email seem to work ok, but Microsoft keeps throwing me errors.
Here is my configuration:
Configuration…

reactup
- 1
- 1
0
votes
0 answers
Using javax.mail with Microsoft OAuth
Since Microsoft has announced that they are going to deprecate password auth for their SMTP services. I am trying to substitute Password Auth for javax.mail with OAuth. However, I am getting an exception with the message 535 5.7.3 Authentication…