i am calling an external REST API which uses AAD based authentication I am using the access token generated for a service principal (app registration) ...
i am calling an external REST API which uses AAD based authentication I am using the access token generated for a service principal (app registration) ...
I am working on an ASP.NET web application (.NET 6.0) which has a user-configurable system for choosing authentication providers (OIDC, Sustainsys SAM ...
I have a mvc project in developemnt, when a user isn't logged in and trys to go to a page that ISN'T the login or register (AllowAnonymous) they're au ...
I am trying to follow client-side blazers authentication and have a basic setup. I don't find any sample code explaining how to specify that the curre ...
I am using multiple authentication schemes. Here is my Startup.cs code - When I sign in user using the "Default" scheme, I find that the HttpContex ...
I'm trying to do a simple user authentication with the following code await HttpContext.SignInAsync throws: fail: Microsoft.AspNetCore.Diagnostics ...
On ASP.net CORE 3, when a user logout, I would like to invalidate all the cookies that exist on different devices. The user might have logged in from ...
I am trying to unlock my endpoints (Controllers) with my JWT token that is sent to the user when they login. At the moment the register and login work ...
Currently, we have a working OAuth authentication for our ASP.NET Core 5 Web API. We would like to add a certificate authentication as well to be doub ...
Is it possible to have per action authentication handlers in ASP.NET Core? If so how? I want to have some specific authentication mechanisms for a fe ...
I am developing a web application with .NET 5 and I would like to add SSO to the application with both Azure AD (organizational Microsoft accounts) an ...
I have been trying for 2 days to know how to build remember me functionality, but there is nothing clear. First and foremost, I would like to make sur ...
I have a set of API's that I want to put some authentication on. I have added the authorization and authentication pieces to the project. I have added ...
I've managed to configure JWT authentication for my ASP.NET Core Web API. It works when using Postman. I have also built an MVC admin section, that I ...
Briefly Should I be using OpenIdConnectDefaults.AuthenticationScheme when authenticating with Azure ADFS? In more detail I have an ASP.NET Core app ...
I have a very basic authentication setup: Now when the MVC ChallengeResult is returned (with a AuthenticationProperties argument): The request i ...
I'm trying to convert my MVC app to Giraffe, but there is one final boss: Facebook login. I've been able to get every part working except for the cha ...
I used this method but somehow it's not right because @attribute [AllowAnonymous] doesn't really worked so I use [Authorized] attribute instead of [Al ...
I have placed few folders having static content in wwwroot. For some folders i need that user is authenticated to view those. For this i have added c ...
I have a problem with Bearer Authentication in ASP.NET Core 3.1 Web Api project. I configured authentication like that: Also, I added [Authorize] ...