Skip to content

Azure AD auth question #20520

@haripraghash

Description

@haripraghash

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    #bugBug report

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions