C
C#12mo ago
DenisMtfl

❔ .NET 7, Blazor Server with Web Api and Auth. and MAUI App

Hi guys, I am tired of looking for information on how to make my idea a living project (I am an ASP.NET developer). First I want to have a blazor server app that consumes a web (REST) API in the blazor server app, the users can register/login. But they need to authenticate to the API!? Don't get it. The second part of the challenge is that I want to have a MAUI mobile app that also uses the API with authentication. And how can I find out the logged in user in the API and also use it in Blazor Server in the frontend? How can I perform this? Is this possible with a JWT authenticated web API? I don't want to use 3rd party components like IdentityServer. I want to use ASP.NET Identity with MSSQL. I can only find some old tutorials. Or tutorials with Blazor Webassembly and Auth-Controller but not in a separate project. Can someone help me or find a template/tutorial for this project architecture?
1 Reply
Accord
Accord12mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.