Azure AD authentication claims returns null in Dotnet core 6.0

Mansi Sulodia 1 Reputation point
2023-09-30T14:11:23.1266667+00:00

Untitlederrror

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,806 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,341 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,785 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 73,081 Reputation points
    2023-09-30T20:31:54.2966667+00:00

    Are there no claims, or just not the one you are looking for? You don’t show which claim you are searching for. Also is it a version 1 or version 2 token.

    as you are using JavaScript to send token, you should use the token display tools in the browser (like jwt inspector or decoder) to inspect the token.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.