Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josephdecock/interactiveblazorauth
https://github.com/josephdecock/interactiveblazorauth
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/josephdecock/interactiveblazorauth
- Owner: josephdecock
- Created: 2023-11-21T17:15:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-01T20:22:50.000Z (11 months ago)
- Last Synced: 2024-10-16T15:00:29.467Z (3 months ago)
- Language: C#
- Size: 1.02 MB
- Stars: 2
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# InteractiveBlazorAuth
This WIP demo shows one approach to authentication with Blazor's new interactive render modes.
The idea is that in interactive wasm mode, we use a BFF, while in SSR and interactive server modes, we use a server side store for tokens. In order to get these two different behaviors, we abstract data retrieval behind an interface, and register different implementations in the server and client projects. Both code paths ultimately rely on the same abstractions within Duende.AccessTokenManagement, and thus token management is shared.