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 🤷
Was this page helpful?