I am having trouble with loging in from postman to my API. I get the roles back no problem but when they are used as parameters in the tokenservice th ...
I am having trouble with loging in from postman to my API. I get the roles back no problem but when they are used as parameters in the tokenservice th ...
I am trying to write unit tests for authentication logic implemented using Azure AD client credentials flow using MOQ. The first test case is to chec ...
I have managed to change my .NET Core 6 Razor Pages app to login using Azure Active Directory by following this https://learn.microsoft.com/en-us/azur ...
In the account login, I added values to the claims as Now I want to update the Claims value in "Customer_Id" with a new value in another controller ...
I am doing an Asp.Net Core Mvc 6 App where I dynamically assign Claims to the user. I have in the database all Roles that a user must have to access ...
We have a Static Web App, with an associated C# Function App (using the Bring Your Own Functions AKA "linked backend" approach). Both the Static Web A ...
I'm getting a "Request header is too long" error when i was trying to access my API and send token in header. How we can manage a permissions in acces ...
Startup.cs: Authentication controller: BookEvent controller: Why am I not getting value from startup.cs when I am putting roles in claims? My ...
I have added about 18 extension claims to my access token. Based on the application state you may get different claims from this list. I'm sure that t ...
I'm using Azure B2C. I have a custom claim I want include on profile edit. This is the built in user flow for Profile Edit (B2C_1_ProfileEdit). I go ...
How can I get it via MS graph API? Attributes & Claims ...
Hi I have a custom authentication in my asp.net core mvc project and now I have a problem. First I explain my authentication: this is startup config : ...
My WCF method is not able to see any of my identity claims. I'm able to authenticate the user via the ClaimsPrincipalPermission property but there's i ...
. Answers to this question are eligible for a +50 reputation bounty. n_ ...
I am attempting to define an attribute that will be returned by a SAML 2.0 Identity Provider to AAD B2C and handled in a custom policy. The goal is t ...
I am kind of scratching my head to resolve this issue where I have to remove all the Claims in one go. When I use the below code, I get this error Col ...
I'm trying to set up custom claims for Client Credentials auth flow in Azure AD. Using Graph Client in C#. However, I do not get my claim in token. ...
I want to create a page with all users' claims. However, I don't quite understand whether user's ClaimsPrinciple is being stored somewhere after logou ...
I've followed the tutorial from Microsoft on .NET Core claims (https://docs.microsoft.com/en-us/aspnet/core/security/authentication/claims?view=aspnet ...
this might sound like a strange question but there is some kind of flow in our code that I can't figure out what is going on and need some help from t ...