Azure-Samples / ms-identity-javascript-react-tutorial

A chapterwise tutorial that will take you through the fundamentals of modern authentication with Microsoft identity platform in React using MSAL React
https://github.com/AzureAD/microsoft-authentication-library-for-js
MIT License
298 stars 276 forks source link

Getting the authorization code in frontend but generating token from the backend of our SPA #425

Open NegiShalini opened 3 months ago

NegiShalini commented 3 months ago

I want to know while authenticating the react app using Azure AD B2C we receive token in the redirect URI is it possible that we only get the authorization code in the redirect URI of the frontend and then I send that authorization code to the backend of my react app to make a request to Azure AD B2C for token generation.