© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago
Dennis Gustavsson

Blazor Web App and auth from separate webApi with Identity

Hi!
Im working on a project where I have a standalone ASP.Net Core WebAPI-project where i use the IdentityApiEndpoints for authentication and a separate Blazor Web App (frontend) .NET8 where i would like to get authorized using the WebAPI.
The api sends a cookie with the response to the Blazor frontend but i cant figure out how to get authentication working and a working authenticationstate.
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 and Auth - Identity
C#CC# / help
3y ago
❔ WebAPi Project auth with IdentityServer. IDX20803
C#CC# / help
3y ago
.Net 8 Blazor Web App Identity Framework Help
C#CC# / help
3y ago
Blazor Web App (.NET 8) - Logout functionality with IdentityCore
C#CC# / help
3y ago