Skip to main content

All Questions

0 votes
1 answer
93 views

TypeError: request.deviceCodeCallback is not a function when using MSAL Node

I'm encountering an issue with the MSAL Node library where I'm getting a TypeError regarding request.deviceCodeCallback not being a function. Here are the details: Relevant Code: I'm using the ...
Simone's user avatar
  • 11
0 votes
0 answers
141 views

When using Azure AD as an Identity Provider in Azure AD B2C, idp_access_token returned after signin causes error when passed to acquireTokenOnBehalfOf

Environment: Node.js "@azure/msal-node": "^2.6.0" Short Version: When calling this: const response = await confidential_client_application.acquireTokenOnBehalfOf(...
user1063287's user avatar
  • 10.7k
0 votes
0 answers
95 views

In my Mern stack project and I'm signing users with microsoft account in the tenant as well as with personal account but unable to call the graph api

I'm using @azure/msal-node package for my node js backend for signing in users and getting an access token for calling the m365 graph api. It works for the user inside our tenant but not for personal ...
Mohd Kashif Shaikh's user avatar
1 vote
1 answer
321 views

Are multiple App Registrations on Azure for SPA and web API necessary?

Are multiple App Registrations on Azure for SPA and web API necessary? I am making a SPA and API server by following this sample. Here, I had to register multiple applications on Azure. Can this be ...
Bhavya Mathur's user avatar
0 votes
1 answer
223 views

Why app react don't work in server dev? Using msal-react

My page authentication works perfectly in localhost, but in the dev server the page is blank and in the console: Error in server dev: The above error occurred in the MsalProvider component. Help me, ...
Miiih's user avatar
  • 1
0 votes
0 answers
319 views

Existence of redeem refresh token journey in B2C custom policy causes bad request 400 response from token request coming from MSAL.js

I have Angular app which authenticates users in Azure AD B2C using MSAL library with standard usage of that library. I have separate custom policy for sign-in which worked fine so far. I don't have ...
WojBronx's user avatar
  • 132
0 votes
1 answer
299 views

Unable to authenticate against azure fhir api from msal-react

I am trying to access the azure api for fhir from a react application. I am using msal-react 2.x. I get a 401 error when I try to access the "/Patient" rest endpoint. I have created a Azure ...
webdevbing's user avatar
2 votes
0 answers
667 views

No accounts found in useMsal hook when using loginRedirect

I'm trying to use MSAL to authenticate users. If I authenticate using instance.loginRedirect()the value of accounts from calling useMsal() is always an empty array, but is correctly populated if I use ...
Frosty619's user avatar
  • 1,449
0 votes
2 answers
1k views

How to maintain the IdToken after page reload in MSAL React App?

I am using MSAL in React App. After the sign-in, I am getting the details using this code- const [userDetails, setUserDetails] = useState(null); useEffect(() => { instance ....
Dexter Ex's user avatar
0 votes
1 answer
412 views

How to set prompt dynamic in input claim custom policy when login as google in azure ad b2c

I have implemented authentication using azure ad b2c and use custom policy to manage the user journey. I have google login idp and have some input claims login hint and prompt to manage the auth ...
Bahtyar's user avatar
  • 25
0 votes
1 answer
686 views

MSAL.js acquireTokenSilent API fails with error AADSTS70011 when logging in from a microsoft personal account

I have registered an application with "Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)" and trying to login ...
pmvp's user avatar
  • 77
0 votes
1 answer
2k views

Authentication using the OAuth 2.0 authorization code flow with the Microsoft Identity Platform (Azure AD) and @azure/msal-node in a Node.js backend

I want to implement authentication using the OAuth 2.0 authorization code flow with the Microsoft Identity Platform (Azure AD) and the @azure/msal-node library in a Node.js backend. So I can call ...
Alok's user avatar
  • 9,242
2 votes
2 answers
3k views

Getting undefined (reading 'getLogger') with Msal Provider React TS + Vite

I'm trying to use the ms-identity-javascript-react-tutorial to manage users (sign-in/up). This is guide I'm following https://github.com/Azure-Samples/ms-identity-javascript-react-tutorial/tree/main/3-...
Christian Steinmann's user avatar
0 votes
1 answer
498 views

Azure AD App on Chrome Extension with chrome.identity?

I am using msal and aad in react environment to build a chrome extension. There was a problem sending the token from chrome.identity.launchWebAuthFlow . I can not figure out how to get the data of the ...
Zeroya's user avatar
  • 1
0 votes
1 answer
2k views

Get Access Token for Azure DevOps PAT

I build an electron app, where I use git in the background. I would like to use Azure DevOps git repositories and would like to authenticate with PATs. So, I set up an enterprise application with ...
rmbt's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
11