Showcasing how an IdentityProvider (Demo Server of IdentityServer) can be used to issue tokens to a Blazor WebAssembly Application. The Auth Token then gets passed to the protected API when the Weatherforecast Component is loaded. Thats because the BaseAddressAuthorizationMessageHandler specifies such behaviour. The Weatherforecast API then validates the received Auth Token. If it contains the nedded scope (api) the request is authorized.
-
Notifications
You must be signed in to change notification settings - Fork 0
DavidEggenberger/ASPNETCoreBlazorOpenID
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The Blazor Client App can aquire an access Token from an OAuth/OpenId provider (Demo IdentityServer) to then call our protected ASP.NET Core API
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published