Skip to content

Commit

Permalink
Removed ARM & graph tokens on signout (#7457)
Browse files Browse the repository at this point in the history
  • Loading branch information
VamsiModem authored Apr 28, 2021
1 parent 780f271 commit 88fe092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Composer/packages/client/src/utils/authClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ async function getAccessToken(options: AuthParameters): Promise<string> {
async function logOut() {
// clean tenantId cache
removeTenantFromCache();
cleanTokenFromCache('accessToken');
cleanTokenFromCache('graphToken');
if (isElectron()) {
try {
const url = '/api/auth/logOut';
Expand Down

0 comments on commit 88fe092

Please sign in to comment.