Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add force_login option to OAuth authorize page #8655

Merged
merged 2 commits into from Sep 9, 2018

Conversation

@Gargron
Copy link
Member

commented Sep 8, 2018

For when a user needs to sign into an app from multiple accounts on the same server

Normally, redirect-back-to location is cleared when logging out. With ?continue=true param, such as from the "logout" button on an authorize page, the redirect-back-to location is persisted after logout, so the user is redirected back once they log in again.

Add force_login option to OAuth authorize page
For when a user needs to sign into an app from multiple accounts
on the same server

@Gargron Gargron force-pushed the feature-oauth-force_login branch from 0cdc97f to c4913d0 Sep 8, 2018

@ykzts
ykzts approved these changes Sep 9, 2018

@Gargron Gargron merged commit 2288d50 into master Sep 9, 2018

11 checks passed

ci/circleci: build Your tests passed on CircleCI!
Details
ci/circleci: check-i18n Your tests passed on CircleCI!
Details
ci/circleci: install Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.3 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.3 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: test-webui Your tests passed on CircleCI!
Details
codeclimate All good!
Details

@Gargron Gargron deleted the feature-oauth-force_login branch Sep 9, 2018

kyori19 added a commit to kyori19/mastodon that referenced this pull request Sep 20, 2018
Add force_login option to OAuth authorize page (tootsuite#8655)
* Add force_login option to OAuth authorize page

For when a user needs to sign into an app from multiple accounts
on the same server

* When logging out from modal header, redirect back after re-login
koppepan1204 pushed a commit to koppepan1204/mastodon that referenced this pull request Oct 10, 2018
Add force_login option to OAuth authorize page (tootsuite#8655)
* Add force_login option to OAuth authorize page

For when a user needs to sign into an app from multiple accounts
on the same server

* When logging out from modal header, redirect back after re-login
koppepan1204 pushed a commit to koppepan1204/mastodon that referenced this pull request Oct 12, 2018
Add force_login option to OAuth authorize page (tootsuite#8655)
* Add force_login option to OAuth authorize page

For when a user needs to sign into an app from multiple accounts
on the same server

* When logging out from modal header, redirect back after re-login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.