File tree Expand file tree Collapse file tree
1-Authentication/0-sign-in-vanillajs/App/public Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ function signOut() {
9494
9595 // Choose which account to logout from by passing a username.
9696 const logoutRequest = {
97- account : myMSALObj . getAccountByUsername ( username ) ,
97+ account : myMSALObj . getAccount ( { username : username } ) ,
9898 mainWindowRedirectUri : '/signout'
9999 } ;
100100
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ function signOut() {
9191
9292 // Choose which account to logout from by passing a username.
9393 const logoutRequest = {
94- account : myMSALObj . getAccountByUsername ( username ) ,
94+ account : myMSALObj . getAccount ( { username : username } ) ,
9595 postLogoutRedirectUri : '/signout' , // remove this line if you would like navigate to index page after logout.
9696
9797 } ;
Original file line number Diff line number Diff line change 33 we recommend setting the redirectUri to a blank page or a page that does not implement MSAL.
44 For more information, please follow this link:
55 https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/login-user.md#redirecturi-considerations
6- -->
7- < script src ="/msal-browser.min.js "> </ script >
8- < script type ="text/javascript " src ="./authConfig.js "> </ script >
9- < script type ="text/javascript " src ="./ui.js "> </ script >
10- < script type ="text/javascript " src ="./claimUtils.js "> </ script >
11- < script type ="text/javascript " src ="./authRedirect.js "> </ script >
12- <!-- comment the above line and uncomment the line below if you would like to use the popup flow -->
13- <!-- <script type="text/javascript" src="./authPopup.js"></script> -->
6+ -->
You can’t perform that action at this time.
0 commit comments