Azure ADB2C | Custom Policy | SSO

Abhay Chandramouli 1,061 Reputation points
2022-10-14T06:28:31.14+00:00

Hi,
I have a custom policy based on seamless migration approach according to MS github
When I log in a user using the custom policy, I get the entire token with all api's running perfectly
But if the user is already logged in, and clicks on login -> and we call the custom policy url, (without prompt_login) we only get a basic adb2c token instead of the api calls which are done during normal login.

Can someone please help ?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 18,011 Reputation points Microsoft Employee Moderator
    2022-10-21T06:08:23.913+00:00

    Hello @Abhay Chandramouli ,

    Thanks for posting your query on Microsoft Q&A. As you have mentioned you the user's who are signed in would not be prompted to sign in again since SSO is enabled. In order to call the API kindly change the SSO status to "true" in Technical Profile to retrieve the extension attribute value metadata:

      <IncludeInSso>true</IncludeInSso>  
    

    252837-image.png

    Please do let me know if you have any further queries in the comments section.

    Thanks,
    Akshay Kaushik

    Please "Accept the answer" and "Upvote" if the suggestion works as per your business need. This will help us and others in the community as well.

    0 comments No comments

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.