Use access token rather than id token when calling API
This commit is contained in:
1 parent
9c0726b7db
commit
0470844f4a
4 files changed
+8
-2
No files matched your search
@@ -43,4 +43,5 @@ export const clearStateAndNonce = () => {
|
||||
|
||||
export const getUserInfo = () => JSON.parse(localStorage.getItem(STORAGE_USER));
|
||||
export const getIdToken = () => localStorage.getItem(STORAGE_ID);
|
||||
export const getAccessToken = () => localStorage.getItem(STORAGE_ACCESS);
|
||||
export const getExpiresAt = () => JSON.parse(localStorage.getItem(STORAGE_EXPIRES));
|
||||
Reference in new issue
Block a user