Uno.Samples/UI/Authentication.OidcDemo
Nick Randolph 50753f73aa chore: Aligning Bootstrap versions 2024-03-19 17:43:28 +11:00
..
Authentication.OidcDemo chore: Aligning Bootstrap versions 2024-03-19 17:43:28 +11:00
Authentication.OidcDemo.sln chore: Authentication.OidcDemo Sample - Update to net6 2023-07-18 14:18:12 +10:00
README.md Apply suggestions from code review 2021-03-25 09:56:08 -04:00

README.md

WebAuthenticationBroker with OpenID Connect (OIDC)

This application demonstrates the usage of the WebAuthenticationBroker in Uno with an OpenID Connect endpoint.

The library used for the authentication is IdentityModel.OidcClient, a project backed by the .NET foundation. You can find the documentation here.

Important: because of browser restrictions (popup blockers), opening a window must be done during the handling of the event of a user interaction. So it's preferable to use the manual mode instead of the automatic one and prepare the starting URL in advance. If you don't care or if you're not planning to use WebAssembly, you can use the automatic mode and implement it directly with the WAB Browser.

Relevant Uno documentation:

This sample is also using the IdentityServer4's demo Server. It's also a good choice for the backend of your application. IdentityServer4 Documentation.