Azure hashing the sub claim in a JWT - how can I recreate the hashing logic?

galmik2222 1 Reputation point
2022-03-04T11:00:10.643+00:00

Azure ADFS is using a method to hash the sub claim of a JWT when using their oAuth2.0 capabilities as an IDP server.

The hash is made of the client id and a unique user identifier - I would like to recreate that hashing logic but can't find anywhere on Azure documentation that says how this hash logic works or if there is a way to unhash it from Azure / have it sent unhashed or any other suggestion that helps me be able to get this value on the front-end.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,465 questions
0 comments No comments
{count} votes