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
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behaviour
If for some page you need to log in, you should be redirected back instead of to /.
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
Expected behaviour
If for some page you need to log in, you should be redirected back instead of to
/
.