ASP.Net Core 5.0 Authentication and Authorization

I am quite new to Blazor and I am trying to understand authentication and authorization. What I did so far is reading the docs Authentication and Authorization in ASP.NET Core Blazor and Rolebased Authorization in Asp.NET Core. I managed to get authentication running, but I am struggeling with authorization. I would like to store every windows user who is visiting my server side app in a database and say User1 is Admin, User2 is Editor etc. and showing users diffrent areas of pages.

Getting an unconfigured reply URL error on Blazor App with Azure AD authentication

I’ve created a template Blazor Server Side project in VS with single tenant Azure AD authentication. Running the app on localhost i’m able to log in fine, but unable to log in when the app is published as Azure Web app. Error: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: ‘app client id here’.

How to authorize user’s role in client side of blazor wasm?

Environments Asp.Net Core 5.0 Blazor WebAssembly App (Asp.Net Core Hosting) Asp.Net Core Identity (with Identity Server 4) Problem I want to use Role-based authorization between Server side and Client side. I can login correctly and UserManager.IsInRoleAsync(user, “admin”) returns True in the Server side. But neither @attribute [Authorize(Roles = “admin”)] nor <AuthorizeView Roles=”admin”> doesn’t work in … Read more