Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure AD B2C Custom Domain URL Redirects to Default URL in aad_oauth Flutter Library #294

Open
vishal-chaudhary-ajmera opened this issue Jan 30, 2024 · 2 comments

Comments

@vishal-chaudhary-ajmera
  • Description:

    I am encountering an issue with the aad_oauth Flutter library while attempting to use a custom domain URL to open Azure AD B2C. Despite configuring the custom domain URL, the redirection consistently defaults to the default URL (tenant.b2clogin.com).

  • Steps to Reproduce:

    1. Set up Azure AD B2C with a custom domain URL.
    2. Integrate the aad_oauth Flutter library into the application.
    3. Configure the library to utilize the custom domain URL for Azure AD B2C authentication.
    4. Attempt to authenticate using the custom domain URL.
  • Expected Behavior:

    Authentication should redirect to the custom domain URL specified for Azure AD B2C.

  • Actual Behavior:

    The authentication process redirects to the default URL (tenant.b2clogin.com) instead of the configured custom domain URL.

@thomtomdup
Copy link

Hello.

I have the same problem.
Tenant value is requiered but should not be need if customDomainUrlWithTenantId is set.

@tigloo
Copy link
Contributor

tigloo commented Jul 12, 2024

See here:

var authData = {

The web code is not considering this parameter when setting up the MSAL library. Seems like that feature was only implemented for mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants