This module will authenticate against Microsoft Azure Graph API and will create empty accounts but will not load UserInfo endpoint.
Tried every conceivable combination:
https://graph.windows.net/myorganisation/me?api-version=2013-11-08
https://graph.windows.net
https://graph.windows.net/<>/me?api-version=1.6
https://login.microsoftonline.com/common/openid/userinfo
https://graph.windows.net/<>/openid/userinfo
Reviewed the source code and error logs. Bearer token header doesn't seem to be set properly resulting in an error 401.
Authorization endpoint and Token endpoints are working just fine using:
https://login.microsoftonline.com/2<>/oauth2/authorize
https://login.microsoftonline.com/<>/oauth2/token
Comments
Comment #2
tomvv commentedStruggled with this as well. Ended up writing a small plugin that adds a Windows AAD client to OpenID Connect. See https://www.drupal.org/project/openid_connect_windows_aad. Feel free to help at any time. Thanks, Tom.
Comment #3
tomvv commented