Skip to content

Issue with Instance discovery metadataΒ #31

@venkatmarepalli

Description

@venkatmarepalli

MSAL4J performs instance discovery before any acquireToken() or GetAccount() API call as per this url

When I override the default configuration setting to use our own domain as b2c_instance the above instance discovery trying to hit the following url which is returning 404. This doesn't allow me to get to the login page.

https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://<my instance url>/<tenent-id>/<policy_name>/oauth2/v2.0/authorize

Has anyone faced this issue, my company uses its own domain instead of login.microsoftonline.com for all the oauth endpoints.

I am stuck with this issue, any help is appreciated here.

Thanks
Venkat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions