svthalia / concrexit

Thalia Website built on Django.
https://thalia.nu
Other
23 stars 11 forks source link

Fix redirects to login not redirecting back afterwards #3680

Closed DeD1rk closed 1 month ago

DeD1rk commented 1 month ago

Describe the bug

Sometimes redirects to login don't redirect back afterwards. For example during an OAuth authorization flow, but possibly also in other normal cases. We need to find out why and fix it.

How to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour

If for some page you need to log in, you should be redirected back instead of to /.