After login redirect to oAuth app auth is not working
Steps to reproduce
- Get to front-only instance like testwhale.juniorjpdj.pl (instance 1) or review instances from CI/CD.
- Use
Switch instance
button and choose instance running develop branch (eg. funkwhale.juniorjpdj.pl - instance 2) - Be logged out on instance 2.
- Log-in using log in button on instance 1.
- Get redirected to instance 2 and asked for credentials.
- Login on instance 2.
What happens?
- Get redirected to main page of instance 2 instead of oAuth authorization page.
- Go back to instance 1 and hit login again.
- Get redirected to oAuth auth page and be able to login to instance 1.
What is expected?
After logging in to instance 2 user should be redirected to oAuth authorization page instead of main page.
Context
Funkwhale version(s) affected: develop
Video (needs download, can't be played in browser - sorry): oauth