msal browser sample VanillaJSTestApp2.0 fails with ADFS #7107
Labels
adfs
Related to ADFS
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-browser
Related to msal-browser package
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
current
Wrapper Library
Not Applicable
Wrapper Library Version
N/A
Public or Confidential Client?
Public
Description
Followed setup instructions included with the sample, configured authority as per docs.
authority: "https://fs.corpdomain.com/adfs/",
Edge browser shows:
When the user clicks "Sign In" and either the Popup or Redirect options, their is neither a sign-in option nor does the sample progress with an automatic Windows login.
Fiddler shows this GET:
GET https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://fs.corpdomain.com/adfs/oauth2/v2.0/authorize HTTP/1.1
Error Message
Fiddler shows this response:
{"error":"invalid_instance","error_description":"AADSTS50049: Unknown or invalid instance. Trace ID: 95de1718-11c2-4bba-933c-714460e66302 Correlation ID: 2dfbf8cf-3419-48e9-9400-a32c7cd4a19b Timestamp: 2024-05-16 17:00:20Z","error_codes":[50049],"timestamp":"2024-05-16 17:00:20Z","trace_id":"95de1718-11c2-4bba-933c-714460e66302","correlation_id":"2dfbf8cf-3419-48e9-9400-a32c7cd4a19b","error_uri":"https://login.microsoftonline.com/error?code=50049"}
MSAL Logs
Not applicable.
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-browser-samples/VanillaJSTestApp2.0
Reproduction Steps
Expected Behavior
When sign-in is selected either:
Identity Provider
ADFS
Browsers Affected (Select all that apply)
Edge
Regression
N/A
Source
External (Customer)
The text was updated successfully, but these errors were encountered: