After account creation (not log in) via the discourse-oauth2-basic plugin, it doesn’t redirect back to the page where you were.
AI-generated summary
Users are reporting an issue with the discourse-oauth2-basic plugin where users aren’t redirected back to the original page after account creation (not login). sam suggests reviewing the redirect handling logic, noting that a similar pattern exists for mobile sign-ins. Later, vinothkannans confirms the issue has been fixed in a recent commit (d8b543bb6794e26bedca3047532daef8e7e29afd) and is adding additional tests to ensure stability.
@nbianca can you have a look at this? the whole pipeline of shuffling the redirect around is a bit tricky, but there is a pattern for it when you sign in on mobile for example (where we do not pop up a window).
https://github.com/discourse/discourse/commit/d8b543bb6794e26bedca3047532daef8e7e29afd
It is fixed as per above commit. Now I’m adding few more tests.