Desired URL lost if `login required` is enabled and social logins are used

Aha! I stand corrected!

It does work if I log in directly with Discourse, but if I log in with Google, then I get dumped back at the home page rather than the desired topic.

Trying to access a lounge topic on meta when logged out. . .

Hey! I don’t remember seeing that before! And if I log in with Google, I’m redirected as I expect. This is different from the login required case that I started on, but accessing a locked URL when logged out is as close as I can come on meta and try.

I’ll rebuild on my site and see if this is a fixed regression.

Edit: OK. I did a rebuild on my login required site and it’s still the case that if I am logged out and visit a topic, if I log in with Google, I’m redirected to the home page, but if I log in with a Discourse username and password, I’m dumped at the home page rather than the topic page.

This seems like a bug.

5 Likes