skip to content
Alvin Lucillo

Auth0 logout

/ 1 min read

💻 Tech

To facilitate logging out:

  1. Ensure that your Auth0 application’s Allowed Logout URLs field is filled with valid logout URLs. It should be the same as the one you defined in your application routes in Angular.
  2. In you Angular app’s component, include AuthService in the constructor parameters: public auth: AuthService
  3. Call the logout method: this.auth.logout()