Skip to content

Commit

Permalink
Chore(deps): Bump @azure/msal-browser from 2.12.0 to 2.19.0 (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Nov 22, 2021
1 parent 733239b commit 23dd4cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@augloop/types-core": "file:packages/types-core-2.16.189.tgz",
"@axe-core/webdriverjs": "4.3.1",
"@azure/msal-browser": "2.12.0",
"@azure/msal-browser": "2.19.0",
"@babel/core": "7.12.13",
"@babel/eslint-parser": "7.16.3",
"@fluentui/react": "8.28.0",
Expand Down
7 changes: 2 additions & 5 deletions src/modules/authentication/AuthenticationWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,12 @@ export class AuthenticationWrapper implements IAuthenticationWrapper {

public logOut() {
this.deleteHomeAccountId();
msalApplication.logout();
msalApplication.logoutRedirect();
}

public async logOutPopUp() {
const endSessionEndpoint = (await msalApplication.getDiscoveredAuthority())
.endSessionEndpoint;
(window as any).open(endSessionEndpoint, 'msal', 400, 600);
this.clearCache();
this.deleteHomeAccountId();
msalApplication.logoutPopup();
}

/**
Expand Down

0 comments on commit 23dd4cd

Please sign in to comment.