I'm trying to use the MSAL Android library to authenticate to ADFS. When my app lands on the login page the url is the following:
https://.../adfs/oAuth2/v2.0/authorize?...
Where does the /v2.0 come from? Can this be an issue with the app registration in ADFS or is this an issue in the android app config? When authenticating with my web app there is no /v2.0 in the url and everything works fine.
Here's the android config
{
"client_id": "...",
"authorization_user_agent": "DEFAULT",
"redirect_uri": "msauth://.../...",
"account_mode" : "SINGLE",
"scopes": ["openid"],
"authorities": [
{
"type": "ADFS",
"authority_url": "https://.../adfs/"
}
]
}
I'm using "com.microsoft.identity.client:msal:2.0.5"
.
And here's the web app config:
msalConfig: {
auth: {
clientId: '...',
authority: 'https://.../adfs/',
},
}