546 questions
0
votes
0
answers
22
views
Azure AD - Code Verifier does not match the Code Challenge supplied
I'm trying to authenticate with Microsoft Azure AD OAUTH 2.0 in my Node.js/TypeScript app. During the repo cloning process, I keep getting this error when handling authentication: AADSTS50148: The ...
0
votes
0
answers
17
views
MSAL v3 library returns expired tokens
I have implemented NAA using the link (https://learn.microsoft.com/en-us/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in) with the below code using the MSAL library version ...
0
votes
0
answers
44
views
MSAL v3 library not returning token it gives AADSTS50146 error
For outlook add-ins I use MSAL version:3 library for getting the tokens. While calling the acquireTokenSilent/acquireTokenPopup I'm getting the following error:
{
"error": "...
0
votes
1
answer
96
views
Azure Entra Id Access Token doesn't include Roles
I registered app: test.com
Added App Roles:
Added User with Roles
Added Api Permissions
But I don't see any roles-related claim in this list:
This is my BE code:
builder.Services.Configure<...
0
votes
1
answer
46
views
ADB2C Custom Policy Magic Link
I'm having trouble getting a Magic Link to work in ADB2C.
I have a React web application using the MSAL library authenticating against Azure ADB2C with custom policies. The default sign in policy is ...
0
votes
1
answer
109
views
Angular 19 @azure/msal-angular v4 B2C standalone MsalInterceptor not working
I am working on an Angular 19 project and am integrating @azure/msal-angular v4. I added the configuration from this standalone reference and this b2c reference and added the MsalGuard to my route. ...
0
votes
1
answer
328
views
@azure/msal-angular v4 with Angular 19
I am building an Angular 19 application that I wish to use with MSAL. I tried to port my implementation of MSAL v2 from an older project into my new Angular 19 app and it wasn't behaving so I am ...
1
vote
2
answers
79
views
How to use msal-browser in browser script?
I'm trying to use msal-browser as documented here, but from a plain javascript file in a browser. I was originally using a dynamic import and thought that was part of the problem, but I still have the ...
0
votes
1
answer
282
views
monitor_window_timeout using msal-browser
I'm getting BrowserAuthError: monitor_window_timeout: Token acquisition in iframe failed due to timeout. I think it is happening as a result of calling ssoSilent but, I have no idea why is it ...
0
votes
1
answer
79
views
Flutter MSAL_js-based (B2C) Authentication fails
EDIT: The real culprit was the https: in https:localhost:8080. My browser couldn't handle this properly. Switching to http:// resolved the issue! How I need to figure out how to make my browser work ...
0
votes
1
answer
146
views
How to decrypt MSAL auth artifact, encrypted with AES-GCM and a HKDF-derived the key?
I use @azure/msal-browser in my project.
Account information are stored in the local storage and they were exploitable until recently.
But it changed in their v4 release:
if you are using the ...
0
votes
1
answer
70
views
Limit web application to only specific Microsoft Entra ID accounts
I'm building a web application with a React frontend and a NodeJS backend (for API calls), and I need to limit it's use to perhaps ~ 10 users within a single company, who have corporate Microsoft AD / ...
0
votes
0
answers
23
views
Why do I get interaction_in_progress for the following order of method calls?
I don't know if this is a bug or not. The following order of method calls are not working:
//refresh page
addEventCallback();
initialize();
getActiveAccount();
getAllAccounts();
loginRedirect();
and ...
0
votes
0
answers
67
views
Nuxt 3 website with MSAL pop-up authentication not working in production but works on localhost
I have a Nuxt 3 website that uses MSAL for authentication. When I'm using localhost I'm able to authenticate and use the website like its supposed to. Once deploying to a production environment, all I ...
2
votes
0
answers
215
views
NodeJS MSAL Authentication: 430 4.2.0 STOREDRV Mailbox Logon Failure When Sending Email via Exchange Online SMTP
I am experiencing a persistent issue when attempting to send emails via SMTP using Microsoft Exchange Online in a NodeJS application. The authentication process appears to be successful, but email ...