setup superset for OAUTH with Azure AD B2C

khanh 1 Reputation point
2022-06-14T16:09:07.127+00:00

Hi,

I'm trying to setup superset Oauth with Azure AD B2C.
I get the authentication suceeded from Azure but the query doesn't return the application.

I have the following messsage from debugging web page :
error incorrect content fetch, please reload.

It seems that I have an issue with cookie.

211403-error-10.jpg
211260-error-31.jpg

Which kind of Redirect URIs do I have to setup on app registration WEB ?

211365-error-32.jpg

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
{count} votes

4 answers

Sort by: Most helpful
  1. khanh 1 Reputation point
    2022-06-16T19:37:26.057+00:00

    Hi ShwetaMathur,

    May be the resource_id is not correct for the parameter.
    Is the resource id is the same as Application client ID ?
    I also get this message when stuck

    'name': 'azure',
    'icon': 'fa-windows',
    'token_key': 'access_token',
    'remote_app': {
    'client_id': 'd2e-----85b0129d0',
    'client_secret': 'HsT--secret-key--kpgbXX',
    'api_base_url': 'https://login.microsoftonline.com/56e86d7d-----8c0b-0721a3df4a32/oauth2',
    'client_kwargs': {
    'scope': 'User.read givenName sn email profile upn',
    'resource': 'd2e----85b0129d0',
    },
    'request_token_url': None,
    'access_token_url': 'https://login.microsoftonline.com/56e86d7d-7d9e-----0721a3df4a32/oauth2/token',
    'authorize_url': 'https://login.microsoftonline.com/56e86d7d-7d9e-----0721a3df4a32/oauth2/authorize',
    },

    212128-image.png

    Regards

    0 comments No comments

  2. Nasser KETTANI 0 Reputation points
    2023-07-18T10:59:27.05+00:00

    Hello Khanh. I am curious to see if you were able to make the connection work.

    We are trying to implement a similar scenario and we are still struggling

    Thank you

    0 comments No comments

  3. khanh 1 Reputation point
    2023-07-18T12:20:08.81+00:00

    Hi Nasser,

    I'm not able to make it work.

    I use Okta

    Regards

    0 comments No comments

  4. Nitish Rajoria 0 Reputation points
    2024-02-14T01:31:14.16+00:00

    Hello ShwetaMathur,

    I am also facing the same issue, could you please tell me how we can resolve it.

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.