Skip to content

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

Notifications You must be signed in to change notification settings

DavidEggenberger/ASPNETCoreBlazorOpenID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASPNETCoreBlazorOpenID

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.

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

No packages published