UPN, preferred_username is different while using keycloak with openid-connect

583 views
Skip to first unread message

Hitesh Jain

unread,
Jan 12, 2021, 11:29:56 AM1/12/21
to Keycloak User
Hi,

I have integrated keycloak with azure aad using openid-connect identity provider. I am able to login into application and do the workflows. In the jwt tokens which i recieve the preferred_username, upn fields have different values than what would be when  i retrive token directly from azure.


example
azure ad
keycloak
upn: gp7jmsp6rskeda5itvahwi7gzjeudterbiq8

can some one help me with any config that will give me the upn from azure with the token generated by keycloak
Reply all
Reply to author
Forward
0 new messages