Current behaviour:
Logging out only clears Application Session Layer but does not clear Auth0 Session Layer. The next time a user is redirected to the Auth0 Lock screen, the user's information will be remembered
Expected behaviour:
Logging out clears Application Session and Auth0 Session Layer
Steps to reproduce:
Once logged In click the logout button. Attempt to login once more, Auth0 will not require the username or password.
Related code:
Additional logout logic should be added under the logout function within the oneDriveAuthenticationService service
self.logout = function logout() {
// Application Session Layer
localStorage.setItem('oneDriveExpiresAt', 0);
// Auth0 Session Layer needed
}
Other information:
Auth0 Logout Docs
Current behaviour:
Logging out only clears Application Session Layer but does not clear Auth0 Session Layer. The next time a user is redirected to the Auth0 Lock screen, the user's information will be remembered
Expected behaviour:
Logging out clears Application Session and Auth0 Session Layer
Steps to reproduce:
Once logged In click the logout button. Attempt to login once more, Auth0 will not require the username or password.
Related code:
Additional logout logic should be added under the
logoutfunction within theoneDriveAuthenticationServiceserviceOther information:
Auth0 Logout Docs