-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AD FS 2019 issues #106
Comments
When I extract the email adress (email = username here) from the token and remove the call to the userinfo endpoint I can login successfully: $acc_token = json_decode(base64_decode(explode('.', $result->access_token)[1])); |
My config: apache2: Authorize URL: https://adfs-serverfqdn/adfs/oauth2/authorize Maybe it would be useful to be able to leave userinfo url empty in this case - and when it is empty - try to extract the claim from the token. |
AD FS returns only the subject claim on /userinfo and userinfo works only when you pass "resource"=> "urn:microsoft:userinfo" on /authorize
So we have to extract the claims from the access_token and do not call the userInfo Url at all in this case.
The text was updated successfully, but these errors were encountered: