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

fix: login redirect should preserve query parameters #2012

Merged
merged 5 commits into from Oct 13, 2022

Conversation

drewdelano
Copy link
Contributor

https://www.notion.so/Ensure-redirect-from-Pricing-page-takes-you-to-post-login-modal-of-selected-tier-e9fb5131d7b2486596de0d8c17f77161

This PR is a follow up to a conversation BenGo (not tagging him here to avoid notification noise) and I had a couple of weeks ago. The high level summary is:

Something like the pricing page could use a requiresAuth: true behavior. This would function similar to the redirectTo: '...' behavior, except it would capture the url and handle the redirecting automatically. This is important for tiered pricing because otherwise we can't include which tier the customer selected on the public pricing page before we redirect to the authenticated accounts payment page because the redirectTo must be static.

@drewdelano
Copy link
Contributor Author

FYI - @gobengo @heyjay44 starting work here. updated notion too.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2022

@johnathonroach johnathonroach merged commit 477cf73 into main Oct 13, 2022
@johnathonroach johnathonroach deleted the fix/complete-login-redirect branch October 13, 2022 18:54
johnathonroach pushed a commit that referenced this pull request Oct 13, 2022
🤖 I have created a release *beep* *boop*
---


##
[2.26.0](website-v2.25.0...website-v2.26.0)
(2022-10-13)


### Features

* tie in currentPlan into storage useage meter
([#2015](#2015))
([a4ad62e](a4ad62e))


### Bug Fixes

* login redirect should preserve query parameters
([#2012](#2012))
([477cf73](477cf73))
* missing prop for cc form in confirm modal
([#2007](#2007))
([6b6ee15](6b6ee15))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

None yet

3 participants