2021年5月2日星期日

How to expose User authorized API scope in Azure AD B2C Application

I have a Web API that is registered in an Azure AD B2C directory, secured by tokens from that same directory. To do that I have created an Application and created a scope.

I have a 3rd party that would also like to use this AD for their audience, who will access some of my API on behalf of the guest.

I wanted to create a new scope for this purpose and have the AD prompt the guest to allow the application to access their data on their behalf.

For some reason, when I create a scope I am only given the option of "Admin Consent". The "User Consent" fields that are shown in so many blog posts and instructions are not showing for me.

I have tried to register the 3rd Party Applications and API Applications in both the B2C blades and the AAD blades of the Azure Portal but the result is always the same.

Is there a Property or setting somewhere that needs to be ticked in order to enable User Authorized scopes?

https://stackoverflow.com/questions/67362424/how-to-expose-user-authorized-api-scope-in-azure-ad-b2c-application May 03, 2021 at 09:02AM

没有评论:

发表评论