You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I log in with Auth0, the response contains a sub parameter instead of the expected user_id parameter shown in Auth0ResourceOwner. Am I using Auth0 incorrectly, or has something changed recently (due to the purchase by Okta?)
public function getId()
{
return $this->getValueByKey($this->response, 'user_id');
}
I could probably work around that by tweaking this method to check for user_id, then sub if user_id isn't found. If that's an acceptable solution I can raise a PR.
The text was updated successfully, but these errors were encountered:
openid (required) Returns the sub claim, which uniquely identifies the user. In an ID Token, iss, aud, exp, iat, and at_hash claims will also be present. To learn more about the ID Token claims, read ID Token Structure.
When I log in with Auth0, the response contains a
sub
parameter instead of the expecteduser_id
parameter shown in Auth0ResourceOwner. Am I using Auth0 incorrectly, or has something changed recently (due to the purchase by Okta?)I could probably work around that by tweaking this method to check for user_id, then sub if user_id isn't found. If that's an acceptable solution I can raise a PR.
The text was updated successfully, but these errors were encountered: