Closed pbatey closed 4 years ago
I'm working on a pull-request. Seems that will require support for a 'scope' configuration option as well.
ADAL.js intentionally uses the v1 endpoint, and we have no plans to add support for v2. MSAL.js switches to the v2 endpoint, and is backwards compatible with ADAL.js and v1. If you need v2 tokens for your applications, we recommend upgrading to MSAL.js: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core
Thanks for the response. It confirms the update I just got from my admin team.
It looks like
/oauth2/authorize
is hard-coded in adal.js -- When I use it as-is I get the following error:My admin team recommends that I use the V2 endpoint instead of V1 at
/oauth2/v2.0/
, but there is no way to configure it in this library.