Skip to content

Logging Out Does Not Clear Auth0 Session  #9

@YusofBandar

Description

@YusofBandar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingspwaSingle Page Web Application

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions