I am attempting to add scopes:
as connections scopes for windowslive using the following code:
client.loginWithRedirect({
redirect_uri: `${window.location.origin}${environment.auth0.callback_path}`,
appState: { target: redirectPath },
scope: '',
connection: 'windowslive',
connection_scope: 'https://outlook.office365.com/EAS.AccessAsUser.All https://outlook.office365.com/EWS.AccessAsUser.All',
access_type: 'offline',
audience: environment.auth0.audience,
approval_prompt: 'force'
});
This results in the following error response:
The provided value for the input parameter 'scope' is not valid. The scope 'openid profile email https://graph.microsoft.com/User.Read https://outlook.office365.com/EAS.AccessAsUser.All https://outlook.office365.com/EWS.AccessAsUser.All https://graph.microsoft.com/User.Read' does not exist.
Any ideas?
auth0-spa-js@1.6.0, node v10.14.1