© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago
Kaybi

Implementing OpenIddict in Blazor Hybrid

Hello there 👋
I'm developping an app and I am looking for some advices!

The solution is currently architectured like this:
- ASP.NET Core app
- Blazor webapp (from the NET9 template with WASM and SSR prerendering)
- Shared Razor Class Library
- MAUI

What I would like to achieve:
- Be free and open-source
- Provide a secured local authentication
- Provide a device code flow authentication
- Allowing users to potentially authenticate from an external OIDC provider (Authentik, GitHub, etc)
- When authenticating from an external OIDC provider, create a local user and be authenticated as local
- Allowing a user to merge a local user and a user created from an external OIDC provider
- (later) Have some kind of federation (allow users from one instance1 to access resources from instance2 without having to authenticate as well to instance2)

Questions I have:
- Is OpenIddict the go-to for what I want to achieve ?
- Is a BFF (would be my SSR project I suppose) required in my case for WASM and MAUI ?
- Where should the login page be located (Blazor WASM, Blazor SSR, ASP.NET) ?
- Is pre-rendering too hard/not worth to implement (should I skip it and go WASM standalone) ?

Thanks a lot!! 🙏
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Blazor Hybrid
C#CC# / help
4y ago
blazor implementing 404 page
C#CC# / help
3y ago