Azure AD B2C Returning Additional Scopes

Waqas Haneef 5 Reputation points
2023-10-09T20:38:17.18+00:00

Hello,

I have an .Net Core 7 Web API Protected by Azure Active Directory B2C, I have configured the everything properly based on the documents provided by Microsoft

I have registered my Web API on Azure AD B2C, exposed 2 scopes and then configured my .Net Core 7 Web API to use Azure AD B2C based Authentication and Authorization and everything is working as expected.

The issue I am facing here is that I am requesting only one scope from postman but I am getting all scopes based my Auth Flow is Auth Code with PKCE.

1

User's image

I am now sure if I am missing something, any help in this regard is much appreciated.

Developer technologies | ASP.NET | ASP.NET Core
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} vote

Your answer

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