# Discourse redirects to the OAuth server after loading \`/?authComplete=true\`

**URL:** <https://meta.discourse.org/t/discourse-redirects-to-the-oauth-server-after-loading-authcomplete-true/115973>\
**Category:** SSO\
**Created:** [25.Апрель.2019 15:51:00 UTC](https://meta.discourse.org/t/discourse-redirects-to-the-oauth-server-after-loading-authcomplete-true/115973 "2019-04-25T15:51:00Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [15.Май.2019 11:57:11 UTC](https://meta.discourse.org/t/discourse-redirects-to-the-oauth-server-after-loading-authcomplete-true/115973/7 "2019-05-15T11:57:11Z")

</div>

Hi @ryancey - thanks for the extra info via PM. I’ve now improved the behaviour so it should work better for this situation:

[https://github.com/discourse/discourse/commit/1299c94a5282693e57661f156b4072e3c890d7cc](https://github.com/discourse/discourse/commit/1299c94a5282693e57661f156b4072e3c890d7cc)

Please give it a try and let us know if it works.

---

_[View the full topic](https://meta.discourse.org/t/discourse-redirects-to-the-oauth-server-after-loading-authcomplete-true/115973)._
