python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Getting 401 Unauthorized with MVC Pages while Identity Razor pages work as expected
Background
I am doing a POC to find out if Angular, Razor and MVC pages work seamlessly in a web application. I started with Visual Studio template named "ASP.NET Core with Angular". I have ...
Ravi M Patel
Votes: 0
Answers: 1
How can I login an external social login with IdentityConstants.ExternalScheme?
I have setup Asp.Net Identity in my application, and would like to have the following setup:
Have a selfmade username&password authentication as IdentityConstants.ApplicationScheme
Have external ...

Sossenbinder
Votes: 0
Answers: 1
Variable in Authorization Attribute .net in base Controller
In my application, I'm trying to build an authorization - privilege based authentication.
For better understanding here's how my privileges are named and stored in my database : "GET_USERS" ...
Mohammed Chanaa
Votes: 0
Answers: 1
Authorize with roles is not working in .NET 5.0 Blazor Client app
I have a .NET 5.0 Blazor client app and I am unable to get the [Authorize(Roles="Admin")] and AuthorizeView tag to work.
I have scaffolded identity pages as well:
I am using a custom ident...

Junaid
Votes: 0
Answers: 1