I am trying to use e msal 2.0 (msal-browser) for my react app for authentication with Azure AD B2C Custom policy, I didn't any proper documentation or samples for the same
Is msal 2.0 (msal-browser) auth code flow is supported with Azure AD B2C custom policies?
1.4k views Asked by Kiran Bhadani At
2
There are 2 answers
0
Raghavendra beldona
On
(Moving from Comments to Answer)
MSAL.js 2.0 does not currently support Azure AD B2C for use with the PKCE authorization code flow. At this time, Azure AD B2C recommends using the implicit flow.
Please refer the Note in the document for more information and you can see in the GitHub lib it was stated as Not yet available for B2C.
Related Questions in REACTJS
- ussd reader in Recket Native module
- Teams tab application returns SSO error in mobile Outlook
- Github Pages Deployment deploys a blank page
- Is there any way to glow this bulb image like a real light bulb
- Optimize LCP ReactJs
- Page in React only renders elements after refreshing
- Unable to Post Form Data to MongoDB because of picturepath
- MERN Stack App - User Avatar Upload - 500 Error After Deployment on Render
- Hooks are not supported inside an async component error in nextjs project using useQuery
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- On the server side, it returns undefined but on the client side, logs the values no problem
- Multilevel dropdown with checkboxes in Select component
- TypeScript Error only on big type only when assigned to a variable
- Deployment through app engine, cloud sql database, problem connecting with server code, doesn't connect
- Data is not filtering in props. Showing passdata.map is not a function
Related Questions in AZURE-AD-B2C
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- B2C Login is showing me an error page after entering credentials. When clicked on Sign in button, it's logging me in without asking for creds
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- how to get refresh token in msal-browser Azure AD B2C login?
- Azure B2C MFA custom policy flow 'try another way'
- Azure AD B2C login getting error The redirect URI 'localhost:3001' provided in the request is not registered
- Azure AD B2C login with Microsoft identity provider error: Proof Key for Code Exchange is required for cross-origin authorization code redemption
- Azure B2C cannot use Okta as IdP via OIDC - 'Signature validation failed'
- Need to pass custom claims to B2C Custom Policy from a React Application
- How to change Azure AD User invite email template and Accept invite link, Currently it's allowing text only, can we make like HTML
- Azure PIM role activation in B2B environment
- How to prevent Login in AD B2C based on an extension claim type using User Flows
- AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type. Request origin: 'capacitor://localhost'
- azure b2c custom policy failed to get access token
- B2c tenant Creation and creation of users/apps from main tenant using terraform. Is that possible?
Related Questions in MSAL.JS
- msal-browser with a non-Microsoft identity provider is refreshing tokens every time acquireTokenSilent called
- BrowserAuthError: popup_window_error: Error opening popup window on @azure/msal-browser 2.16.1
- Azure angular msal/browser package is opening blank popup when trying to log into teams
- TypeError: request.deviceCodeCallback is not a function when using MSAL Node
- How to build a library that can be used in various types of applications (executables, web, etc.) using msal-node?
- When logging in with MsalAuthenticationTemplate and it redirects me to my website, it gives a rendering error
- Ionic React Android, unable to get access token after redirect
- OUTLOOK: MAC: Add-in using MSAL/GraphAPI, Refresh token for ssoSilent fails
- Encounter CROS error while trying to get key vault secrets in my Angular app(using Msal.js)
- Properly secure a Vue 3 SPA with MSAL browser and Vue router navigation guards
- Getting Application roles in JWT token for external users and Microsoft internal users after the Authentication
- MSAL js, Does extraScopesToConsent function properly during the loginRedirect workflow?
- MSAL authentication in Angular Logout redirect problem
- AADB2C90085 error every time user is redirected to applicaiton
- msal-browser failed in Office Addin Dialog API
Related Questions in AZURE-AD-B2C-CUSTOM-POLICY
- B2C Login is showing me an error page after entering credentials. When clicked on Sign in button, it's logging me in without asking for creds
- Azure B2C MFA custom policy flow 'try another way'
- I want to created a Azure Policy User and or device base to block certain websites
- Azure B2C cannot use Okta as IdP via OIDC - 'Signature validation failed'
- Need to pass custom claims to B2C Custom Policy from a React Application
- How to prevent Login in AD B2C based on an extension claim type using User Flows
- Multiple policys sharing same key
- "An invalid OAuth response was received" from azure adb2c custom policy oauth2
- Is it possible to embed an iframe within a B2C custom website?
- How to auto redirect to Auth0 IDP from Azure AD B2C custom polcieis based on certain condition
- Unable to get custom user properties (user_id) from Auth0 in Azure AD B2C claims
- Azure AD B2C - Multi Tenant Applicatication using custom Flows
- stuck in the Bearer error="invalid_token", error_description="The signature key was not found"
- How to Pass User Input Values from One Technical Profile to Another in Azure AD B2C Custom Policy?
- Can I send emails directly from Azure AD B2C policies or do I need to utilize an external service?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This sample should be useful to you, it uses Azure AD B2C + Custom Policies + MSAL.js 2.0 + Authorization Code flow.