Problem/Motivation

When you are using Alternate or no user endpoint option under User info endpoint configuration in configuration form here /admin/config/people/openid-connect/windows_aad/edit , getting below error No e-mail address provided by windows_aad after SSO authorization.

Steps to reproduce

Proposed resolution

access_token is empty for above config options, set $response_data['id_token'] to access_token key if $response_data['access_token'] is empty in retrieveTokens method in modules\contrib\openid_connect_windows_aad\src\Plugin\OpenIDConnectClient\WindowsAad.php file

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kanchamk created an issue. See original summary.

kanchamk’s picture

batigolix’s picture

Status: Needs review » Postponed (maintainer needs more info)

I cannot reproduce this. I use Alternate or no user endpoint option under User info endpoint . When logging in the email address is correctly filled in. Are there any more steps that I am missing?

dylan donkersgoed made their first commit to this issue’s fork.

batigolix’s picture

Status: Postponed (maintainer needs more info) » Needs review