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

Microsoft Entra - Not able to login when configured with "Multitenant" application. #1780

Open
sangee2004 opened this issue Feb 19, 2025 · 0 comments
Assignees
Labels
Auth Auth related issues bug Something isn't working

Comments

@sangee2004
Copy link

sangee2004 commented Feb 19, 2025

Step to reproduce the problem:

  1. Have Microsoft Entra App registered with following "Multitenant" option:
Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
  1. Configure MS Entra auth provider in otto server . In this case , tenant ID is set to common
  2. Log in using "Sign in with Microsoft Entra" option.
    Following error is reported:
    "failed to create proxy: failed to run: daemon failed to start: context canceled"

Error from sever log

failed to create oauth2 proxy: error initialising provider: could not create provider data: error building OIDC ProviderVerifier: could not get verifier builder: error while discovery OIDC configuration: oidc: issuer did not match the issuer returned by provider, expected "https://login.microsoftonline.com/common/v2.0" got "https://login.microsoftonline.com/{tenantid}/v2.0"

Expected Behavior:
Log in should succeed.

@sangee2004 sangee2004 added Auth Auth related issues bug Something isn't working labels Feb 19, 2025
@sangee2004 sangee2004 changed the title MS Entra - Not able to login when configured with "Multitenant" application. Microsoft Entra - Not able to login when configured with "Multitenant" application. Feb 19, 2025
@g-linville g-linville self-assigned this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auth Auth related issues bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants