Refresh-after-logout goes to homepage

Repro path (Safari, Mac OS):

  • In Tab.A, go to a community URL (e.g. https://meta.discourse.org/t/welcome-to-meta-discourse-org/1)
  • Open a new tab, Tab.B
  • In Tab.B, log out
  • In Tab.B, log back in (in my case, using Google Oauth)
  • Switch to Tab.A
  • You’ll get a notification that you are logged out, with a big “refresh” button.
  • Click the button

Expected behaviour

Actual behaviour

1 Like

The reason for filing this is that it is a proper annoyance when you’re testing with different users and want to see how they see certain things. Makes you constantly switch (using different browser profiles would help I guess)

1 Like

hmmm … I am a maybe on this.

Cause if you are on a page you have no permission to access then the refresh will result in an error, so we would have to account for that, which is complicated.

I think if you are doing this kind of stuff use multiple browsers or profiles. That is the way to go.

3 Likes

But that’s exactly what I want to test :upside_down_face:

1 Like

But alright, since this is now labeled as a feature instead of a bug. Can you at least rename the button? That way I can manually refresh the URL instead of being tricked :slight_smile: