Azure B2C JWT code issue

KK_bsecDevnet 1 Reputation point
2021-01-15T12:22:19.647+00:00

Hello,

We are trying to setup our Azure AD B2C instance and are going through the step by step process as outlined in the following tutorial:

https://learn.microsoft.com/en-ca/azure/active-directory-b2c/tutorial-create-tenant

We have successfully created the user flow with the ability to successfully signup. Upon successful registration, when we attempt to login we are logged in; however, the https://jwt.ms redirect does not successfully load the token code when copied from the URL. I am copying everything after the = sign and pasting it into the “Enter Token Below” field in https://jwt.ms

https://jwt.ms/?code=eyJraWQiOiJjcGltY29yZV8wOTI1MjAxNSIsInZlciI6IjEuMCIsInppcCI6IkRlZmxhdGUiLCJzZXIiOiIxLjAifQ..kZeoFs7726KHyViO.eEqlePGvYzmQHu7gzqWeaEYYcdfQzldSzxf-Be4BBpCg8q98NovUgrRhJim99fDoIhX5RRinTg964axLfdm0BDbHroqqr4RfmUe4jDDTPlSP2UkL26a4b0Xm5JPqOC6LiQfbkIOM6cLaSGTnXUkC1Cjv0HywgcmPjS6ZKb4fl2kIMzczdiPyTUd2-lwSKWNlq5yslORY_xZfrjwX70gu1

Not sure if anyone else has run into this issue; however, I am stuck and I cannot move past this help. Any assistance would be greatly appreciated.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,951 Reputation points Moderator
    2021-01-15T13:04:19.403+00:00

    Hi @KK_bsecDevnet · Thank you for reaching out.

    Make sure that you have selected the checkboxes for ID Token and Access Token under the Authentication blade of the application whose AppID/ClientID you are using in the user flow. Please refer to the screenshot below:

    57172-image.png

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.