Common OIDC authorization for react app hosted through .Net Core API with the same .Net Core API as backend

  • Thread starter Thread starter m8ePradeep
  • Start date Start date
M

m8ePradeep

Guest
Looking for a tutorial/example code that helps me to login with any OIDC authorization provider (like Google, Microsoft, Azure, etc.) from React type-script app having .Net Core API as back-end. I am using Core 3.1 and hosting React app through .Net Core API. Would be good to have a flow like getting authorized from the react client and sending the id token to API where API validates the token and gives the access token which can be used to access application and API. Note that the authorization provider details should be entered in settings and I need not modify my app/API to add support for any new Authorization provider in the future. I don't save/maintain any user info in the back-end.

Continue reading...
 
Back
Top