ADB2C | Custom Policy Login

Abhay Chandramouli 1,031 Reputation points
2023-01-05T17:34:24.61+00:00

Hi

I am trying to login into my custom policy based ADB2C app.

When I try to login to tenant.b2clogin.com/authorize.....&prompt=login -> I get the token my custom attributes as well
but when I try to sso using tenant.b2clogin.com/authorize (without prompt=login) -> I get a basic set of claims in the token - no custom attributes

Is there a config I can change to get custom attributes as well ?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,985 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,491 Reputation points
    2023-01-06T18:42:14.26+00:00

    Hello, Azure AD B2C token claims should be the same regardless of the prompt parameter being appended to the authorize URL. Ensure you're targetting the same policy, using the same user and requesting/retrieving the same type of token (id or access).

    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.


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.