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
i have this code at the end of the AzureResourceOwner::getUserInformation()
$jwt = base64_decode($jwt);
$response = parent::getUserInformation($accessToken, $extraParameters);
try {
$tid_data = json_decode($jwt, true, 512, \JSON_THROW_ON_ERROR);
} catch (\JsonException $exception) {
throw new AuthenticationException('Response is not a valid JSON code.');
}
$response->setData(array_merge($tid_data,$response->getData()));
return $response;
related, the info's URL has been updated when using OpenId, this is easy enough to override in the config settings, but the new infos_url is https://graph.microsoft.com/oidc/userinfo/. Also, the paths in the oidc are "givenname" and "familyname" withouth the "_" from legacy URLs. I can do a pull request, but wanted some thoughts on how others are handling OpenID with id_tokens as well as info URLS.
The text was updated successfully, but these errors were encountered:
Actual Behavior
when using Azure Resource owner, and using OpenID. The information from the id_token removes user information from the infos_url.
Expected Behavior
Need to keep both data sets.
Steps to Reproduce
Possible Solutions
i have this code at the end of the AzureResourceOwner::getUserInformation()
related, the info's URL has been updated when using OpenId, this is easy enough to override in the config settings, but the new infos_url is https://graph.microsoft.com/oidc/userinfo/. Also, the paths in the oidc are "givenname" and "familyname" withouth the "_" from legacy URLs. I can do a pull request, but wanted some thoughts on how others are handling OpenID with id_tokens as well as info URLS.
The text was updated successfully, but these errors were encountered: