Use access token rather than id token when calling API

This commit is contained in:
2019-01-22 13:30:41 +01:00
parent 9c0726b7db
commit 0470844f4a
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const auth0Config = {
redirectUri: getRedirectUri(),
audience: "http://dancefinder.unbound.se",
responseType: "token id_token",
scope: "openid profile readwrite:settings"
scope: "openid profile email readwrite:settings"
};
const webAuth = new AuthClient(auth0Config);