azure active directory - User identification claim in OpenID connect -


i'm setting authentication auth0 , using openid connect. i've set owin startup class according this example. problem users auth0 database provide different claims users authenticated enterprise connection (i'm using azure ad test scenario).

my question is, claim should use user in application's database perform authorization, i.e. use user id? note comment in link above, says might need "read/modify claims populated based on jwt".

openid connect has standardized sub claim primary user identifier. alternatively may able use mail claim, caveat e-mail addresses can reassigned, , sub should not be.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -