Gerrit: wrong redirect URL after signing in
It was noticed that after signing in via OpenID you may be returned (from osmocom.org/openid) to an error page (to gerrit.osmocom.org).
How to reproduce?¶
1. Visit some change without being logged in, e.g. https://gerrit.osmocom.org/9661/
2. Go to 'Sign in', and pay you attention at 'href' attr of the link 'Sign in with Osmocom'
3. Click on it, accept auth request at osmocom.org/openid
and then you will be redirected to:
Quick and dirty solution:¶
Remember I asked you to pay your attention to the link URL?
In this case it would look like this (after URL decoding):
You can copy+paste it to a new tab, and get the same result as described above.
But if you change the URL a little bit:
then the redirect would work fine ;)