syncweek-react-aad / react-aad

A React wrapper for Azure AD using the Microsoft Authentication Library (MSAL). The easiest way to integrate AzureAD with your React for authentication.
MIT License
345 stars 94 forks source link

A new `setAccessToken` function that lets us set the access token acquired from outside the app #327

Open hemant-cbotics opened 2 years ago

hemant-cbotics commented 2 years ago

Hi react-aad team, and thank you for building this library for us!

I have a slightly different use-case where I'm able to receive an idToken (full JWT token) from a signup API - without the need of react-aad.

I'm looking forward to have a method to supply this token to the react-aad library so that instead of taking us to the ADB2C login page, we get logged in.

Please let me know. Thank you!

liliankasem commented 2 years ago

@hemant-cbotics this repo has been deprecated and we will not be making any further contributions.

Microsoft has released the official @azure/msal-react library which replaces react-aad-msal. It is recommended that applications migrate to the officially supported library in order to utilize the better Auth Code Flow process.