Use sub for userNameClaim
sub
is a duplicate of cern_upn
and is always present in the token claims. Whereas, cern_upn
may not be available in API tokens.
sub
is a duplicate of cern_upn
and is always present in the token claims. Whereas, cern_upn
may not be available in API tokens.