# Выход не работает в настройках OAuth

**URL:** <https://meta.discourse.org/t/logout-not-working-in-oauth-setup/134138>\
**Category:** Product Support\
**Created:** [22.Ноябрь.2019 11:21:53 UTC](https://meta.discourse.org/t/logout-not-working-in-oauth-setup/134138 "2019-11-22T11:21:53Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [27.Ноябрь.2019 11:13:52 UTC](https://meta.discourse.org/t/logout-not-working-in-oauth-setup/134138/9 "2019-11-27T11:13:52Z")

</div>

Я открыл PR по этой проблеме — он также решает аналогичную проблему для сайтов SSO

> <https://github.com/discourse/discourse/pull/8423>
>
> This affects login\_required sites which use SSO or have only one authenticator e…nabled. Previously, logging out would redirect to the homepage, which would then redirect to the identity provider. Now, users will be redirected to the Discourse login page. This avoids the confusing situation where a user appears to remain logged in after clicking logout.
> 
> Sites which have explicitly defined a logout\_redirect url are not affected by this change.
> 
> For context, see https://meta.discourse.org/t/134138/2

---

_[View the full topic](https://meta.discourse.org/t/logout-not-working-in-oauth-setup/134138)._
