Reputation: 2012
I success configuring Azure AD as identity provider using OIC in Keycloack. But it ask email during the first connection with keycloak.
And I can't find how to create the mapper to populate email in keycloack with the one of Azure AD.
I figure that it's the userprincipalname that I get the email.
So I try that without success:
Upvotes: 1
Views: 3454
Reputation: 1
I had the same issue.
Upvotes: 0
Reputation: 58873
The UPN claim is upn
. With v2 endpoint of AAD, you could also require the email
scope and get the email in email
claim. UPN and email can be different in some cases.
Upvotes: 1