# Refresh button DOES NOT Automatically redirect to the external login system

**URL:** https://meta.discourse.org/t/refresh-button-does-not-automatically-redirect-to-the-external-login-system/292066
**Category:** Bug
**Created:** [January 18, 2024, 11:06am UTC](https://meta.discourse.org/t/refresh-button-does-not-automatically-redirect-to-the-external-login-system/292066 "2024-01-18T11:06:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Celso\_Teixeira](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/celso_teixeira/32/355969_2.png) [@Celso\_Teixeira](https://meta.discourse.org/u/Celso_Teixeira)
#### Post date: [January 18, 2024, 11:06am UTC](https://meta.discourse.org/t/refresh-button-does-not-automatically-redirect-to-the-external-login-system/292066/1 "2024-01-18T11:06:18Z")

</div>

Hi,

I’ve enabled the ‘auth immediately’ feature in the login. However, I’ve noticed that when two tabs are open and I log out from one of them, the second one prompts for a refresh.

**Current behavior** : It redirects the user to [https://domain.com/login](https://domain.com/login).

**Expected behavior** : Automatically redirect to the external login system.

---

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [January 20, 2024, 5:15am UTC](https://meta.discourse.org/t/refresh-button-does-not-automatically-redirect-to-the-external-login-system/292066/2 "2024-01-20T05:15:53Z")

</div>

> [@Celso\_Teixeira](#):
>
> **Current behavior** : It redirects the user to [https://domain.com/login](https://domain.com/login).

I get redirected to the home page. (So [https://meta.discourse.org/](https://meta.discourse.org/) on this site. But it’s also working the same way on the other Discourse sites I’ve tested.) Maybe there’s a setting on your site that causes this behavior?

---

<div class="post-metadata">

### Author: ![Celso\_Teixeira](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/celso_teixeira/32/355969_2.png) [@Celso\_Teixeira](https://meta.discourse.org/u/Celso_Teixeira)
#### Post date: [January 20, 2024, 9:57am UTC](https://meta.discourse.org/t/refresh-button-does-not-automatically-redirect-to-the-external-login-system/292066/3 "2024-01-20T09:57:03Z")

</div>

You might have the anonymous user feature enabled. In my situation, only authenticated users are granted access to the forum content. Therefore, after refreshing the page, the external login system should appear, not the home page.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 25, 2024, 12:17pm UTC](https://meta.discourse.org/t/refresh-button-does-not-automatically-redirect-to-the-external-login-system/292066/4 "2024-01-25T12:17:19Z")

</div>

Hello and welcome @Celso_Teixeira 🙂

I spotted you resubmitted this as a #Contribute > Bug report. Rather than have two of the same I’ve recategorised this first one. 👍 (and given it a little bump by replying 🙂)
