What is user_id that Auth0 Gets from Azure AD Login

Overview

On an Azure AD connection, if just the basic profile is configured what exactly is the user_id that comes across into the identities array, and what does Auth0 pull from Azure AD

Applies To

  • WAAD (Azure AD) connections
  •  ID TOKEN 

Solution

When using WAAD (Azure AD) connections with V2 and Basic Attributes, what happens is that we use what’s sent in the ID TOKEN https://learn.microsoft.com/en-us/azure/active-directory/develop/id-tokens#claims-in-an-id-token

I expect the user_id will come from the sub claim in the ID TOKEN from Azure

Recommended content

No recommended content found...