Skip to content

Implement Logout #15

@phronesis

Description

@phronesis

When a user logs out of the Magento store, the user needs to be logged out of Auth0 as well.
This will be done using the auth0 logout endpoint: https://auth0.com/docs/logout
Sample user flow:

  1. User logs out of Magento store
  2. An observer is implemented for the "after logout" event in Magento. The observer checks for an active auth0 session and logs the user out using the endpoint, passing where the user needs to be redirected to as indicated in the Auth0 docs.
  3. It is important that the observer should not do anything if the just logged out user did not log in using Auth0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions