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

Backport 1.2.1: support redirect after login in the UI #7263

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

meirish
Copy link
Contributor

@meirish meirish commented Aug 5, 2019

Backport of #7088

  • add redirect_to query param

  • alias auth controller state to vault controller where the query param is defined

  • capture the current url before redirecting a user to auth if they're being redirected

  • consume and reset the redirectTo query param when authenticating

  • make sure that the current url when logging out does not get set as the redirect_to query param

  • add unit tests for the mixin and make it so that redirects from the root don't end up in redirect_to

  • acceptance tests for redirect

* add redirect_to query param

* alias auth controller state to vault controller where the query param is defined

* capture the current url before redirecting a user to auth if they're being redirected

* consume and reset the redirectTo query param when authenticating

* make sure that the current url when logging out does not get set as the redirect_to query param

* add unit tests for the mixin and make it so that redirects from the root don't end up in redirect_to

* acceptance tests for redirect
@meirish meirish added this to the 1.2.1 milestone Aug 5, 2019
@meirish meirish requested a review from a team August 5, 2019 21:00
@meirish meirish merged commit 2acc4d9 into release/1.2.x Aug 5, 2019
@meirish meirish deleted the bp-ui-redirect branch August 5, 2019 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant