mark
mark

Reputation: 2063

ADAL JS Delegation Scopes

Is it possible to provide delegation scopes (i.e. send email) in the ADAL JS client? If so, where are these defined?

Upvotes: 1

Views: 1779

Answers (1)

Aaron Chen
Aaron Chen

Reputation: 9950

The ADAL JS is used for Azure AD 1.0 which uses resource, not scope to identify the secured resource that the access token can be used to access. See Azure AD auth code grant.

If you are using Azure AD 2.0 endpoint you'll need to use MSAL JS instead. And in the v2.0 endpoint, it uses scope to support the dynamic permission request. For more info, please refer to v1-v2 comparison.

Upvotes: 2

Related Questions