Adding OAuth2 to Identity Library #59943
-
Hi all; I have a Blazor InteractiveServer app and added I want to allow users to register where their identity is verified using their Google, Microsoft, or Meta identity. I believe that can be added to I am not using thanks - dave |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you want to go with standards (which is kinda recommended) there is an article here on how to add OpenID Connect for login: Basically just replace values for the Identity Provider you want, and you can present links accordingly to the users. It can get complicated to maintain multiple providers in one app though, so depending on your specific use case it might make sense to use an intermediary like Entra External ID. (Your app only integrates with Entra and Entra integrates with Google, Meta, Apple, etc.) |
Beta Was this translation helpful? Give feedback.
If you want to go with standards (which is kinda recommended) there is an article here on how to add OpenID Connect for login:
https://learn.microsoft.com/en-us/aspnet/core/blazor/security/blazor-web-app-with-oidc?view=aspnetcore-9.0&pivots=without-bff-pattern
Basically just replace values for the Identity Provider you want, and you can present links accordingly to the users. It can get complicated to maintain multiple providers in one app though, so depending on your specific use case it might make sense to use an intermediary like Entra External ID. (Your app only integrates with Entra and Entra integrates with Google, Meta, Apple, etc.)