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
+5
View File
@@ -8,6 +8,7 @@ import {
getUserInfo,
clear,
getExpiresAt,
getAccessToken,
} from './storage';
export default class AuthenticationClient {
@@ -113,4 +114,8 @@ export default class AuthenticationClient {
idToken() {
return getIdToken();
}
accessToken() {
return getAccessToken();
}
}