Skip to content

Commit

Permalink
updated logout url
Browse files Browse the repository at this point in the history
  • Loading branch information
dhayanands committed Dec 5, 2023
1 parent 0a7d76d commit 6926fe6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions App/authPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ function signOut() {
// Choose which account to logout from by passing a username.
const logoutRequest = {
account: myMSALObj.getAccountByUsername(username),
mainWindowRedirectUri: 'http://localhost:3000/signout',
redirectUri: 'http://localhost:3000/redirect.html',
// mainWindowRedirectUri: 'http://localhost:3000/signout',
// redirectUri: 'http://localhost:3000/redirect.html',
mainWindowRedirectUri: 'https://collabo8.no',
redirectUri: 'https://collabo8.no',
};

myMSALObj.logoutPopup(logoutRequest);
Expand Down
3 changes: 2 additions & 1 deletion App/authRedirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ function signOut() {
// Choose which account to logout from by passing a username.
const logoutRequest = {
account: myMSALObj.getAccountByUsername(username),
postLogoutRedirectUri: 'http://localhost:3000/signout', // Simply remove this line if you would like navigate to index page after logout.
// postLogoutRedirectUri: 'http://localhost:3000/signout', // Simply remove this line if you would like navigate to index page after logout.
postLogoutRedirectUri: 'https://collabor8.no', // Simply remove this line if you would like navigate to index page after logout.

};

Expand Down

0 comments on commit 6926fe6

Please sign in to comment.