Share via

Azure AD B2C - Invalid signature

Malvaro 150 Reputation points
2025-01-16T17:02:49.62+00:00

Goof afternoon community,

I've created an Azure AD B2C resource and I've created a simple service principal with the following Authentications

User's image

Also, I've created a user flow And when I ran the user flow the JWT token said that I had an Invalid Signature:.

User's image

and in the claims I have this information

image

I've created custom roles, and I got the same issue...

Any ideas?

Thanks a lot for your help,

Cheers,

Moisés.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Malvaro 150 Reputation points
    2025-01-31T11:01:44.2433333+00:00

    Good morning,

    The problem is solved. By default when you're creating a B2C User flow, you can select the Token compatibility settings -> issuer (is s) claim

    User's image

    The token gets this issuer and the signature can be verified by adding the value.

    User's image

    Weirdly, I must select it, but it worked.

    Thanks for your help, and we can close the ticket.

    All the best,

    Moisés.

    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.