TypeError when acquiring token for scopes #1254
Labels
bug
A problem that needs to be fixed for the feature to function as intended.
msal-angular
Related to @azure/msal-angular package
Library
msal@1.2.1
@azure/msal-angular@1.0.0-beta.1
Description
Received the following error when trying to get token for graph API.
Error when acquiring token for scopes: user.read TypeError: Cannot read property 'extraQueryParameters' of null
Regression
I haven't successfully used MSAL yet.
Configuration
Expected behavior
Current behavior is as such from verbose logs:
MSAL LOGGING: 3 Wed, 29 Jan 2020 18:03:54 GMT:1234-1.2.1-Verbose Url: https://graph.microsoft.com/v1.0/me/photo/$value maps to scopes: user.read
MSAL LOGGING: 3 Wed, 29 Jan 2020 18:03:54 GMT:1234-1.2.1-Verbose ADAL's idToken exists. Extracting login information from ADAL's idToken
MSAL LOGGING: 0 Wed, 29 Jan 2020 18:03:54 GMT:1234-1.2.1-Error Error when acquiring token for scopes: user.read TypeError: Cannot read property 'extraQueryParameters' of null
I'd expect the token to be retrieved properly. I didn't have extraQueryParameters set at all in the config, but tried setting it to various values to see if it fixed the issue without success. also didn't have consent scopes set and have tried setting it to various things.
The text was updated successfully, but these errors were encountered: