© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
Bubu

Authentication problem with InteractiveServer render mode

I have created an authentication system using OAuth in my Blazor Web App project. I have two side (client and server).

The authentication works perfectly on client side, but i have some problems on server side. The authentication state is only valid on the Prerendering. When the prerendering, i can get user claims and more, but when the final render, my authentation state is empty, i can't get claims or other things about user.

I don't find any solution to solve that.. :/
If anyone know a solution to solve that 🤷
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 net 8 InteractiveServer mode problem
C#CC# / help
3y ago
❔ What is the purpose of `ModelBindingContext.Model`, `ModelName`, and `ModelBinderAttribute.Name`?
C#CC# / help
3y ago
Blazor Auto render mode authentication using external ASP.NET web api with ASP.NET Authentication
C#CC# / help
6mo ago
✅ How to Implement Blazor Web App Authentication and Authorization Using JWT with Auto Render mode
C#CC# / help
2y ago