haripraghash opened a new issue, #20520:
URL: https://github.com/apache/superset/issues/20520
A clear and concise description of what the bug is.
#### How to reproduce the bug
Configure Azure AD OAuth
### Expected results
Should be able to login using Azure AD Creds.
### Actual results
what actually happens.
ERROR:flask_appbuilder.security.views:Error returning OAuth user info: 'upn'
#### Screenshots
`AUTH_TYPE = AUTH_OAUTH
OAUTH_PROVIDERS = [
{
"name": "azure",
"icon": "fa-windows",
"token_key": "access_token",
"remote_app": {
"client_id": "id",
"client_secret": "pass",
"api_base_url":
"https://login.microsoftonline.com/tenantid/v2.0",
"client_kwargs": {
"scope": "openid email profile offline_access",
"resource": "clientid",
},
"request_token_url": None,
"jwks_uri":
"https://login.microsoftonline.com/common/discovery/v2.0/keys",
"access_token_url":
"https://login.microsoftonline.com/tenantid/oauth2/v2.0/token",
"authorize_url":
"https://login.microsoftonline.com/tenantid/oauth2/v2.0/authorize",
}
}`
### Environment
(please complete the following information):
- browser type and version:
- superset version: `superset version`
- python version: `python --version`
- node.js version: `node -v`
- any feature flags active:
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included
it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version
of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't
found one similar.
### Additional context
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]