<commit_before>---
title: Log Users Out of Auth0
description: Learn how to force a user to log out of Auth0 using the Auth0 logout endpoint. 
topics:
  - logout
contentType: how-to
useCase:
  - manage-logout
---

# Log Users Out of Auth0

The [logout endpoint](/api/authentication?javascript#logout) in Auth0 works in one of two ways:

1. **Clears the Single Sign-on (SSO) cookie in Auth0.** To force a logout, redirect the user to the following URL:

```text
https://${account.namespace}/v2/logout
```
<commit_msg>Add dfn<commit_after>---
title: Log Users Out of Auth0
description: Learn how to force a user to log out of Auth0 using the Auth0 logout endpoint. 
topics:
  - logout
contentType: how-to
useCase:
  - manage-logout
---

# Log Users Out of Auth0

The [logout endpoint](/api/authentication?javascript#logout) in Auth0 works in one of two ways:

1. **Clears the <dfn data-key="single-sign-on">Single Sign-on (SSO)</dfn> cookie in Auth0.** To force a logout, redirect the user to the following URL:

```text
https://${account.namespace}/v2/logout
```

{'fraction_non_alphanumeric': 0.11404335532516494, 'fraction_numerical': 0.015080113100848256, 'mean_word_length': 3.9859154929577465, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5309749', 'n_tokens_mistral': 353, 'n_tokens_neox': 346, 'n_words': 138}