Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Add landing page before token exchange #1255

Merged
merged 1 commit into from
May 25, 2023

Conversation

robinandeer
Copy link
Contributor

What?

Add a landing page before we do the token exchange.

Why?

There has been issues with links that become invalid after being visited multiple times.

With this solution we can send out the link to the landing page, and the user can then click on the button to get to the token exchange.

Ticket(s): []

@robinandeer robinandeer requested a review from a team as a code owner May 24, 2023 14:08
@robinandeer
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@robinandeer robinandeer temporarily deployed to web-onboardi-feature-ex-x4c5gj May 24, 2023 14:08 Inactive
Copy link
Contributor

@alebedev alebedev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@@ -114,7 +114,7 @@ router.post(
)

router.get(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we redirect from old URL to prevent links from becoming 404?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm not sure what you mean, the "old URL" is now the landing page

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we deploy it, would existing links from Hope or hedvig-com break?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see how anything would break 🤔

From HOPE users will just land on this page instead of being redirected automatically.

It doesn't implicate hedvig-com

Copy link
Contributor

@guilhermespopolin guilhermespopolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@robinandeer robinandeer merged commit ae327ec into master May 25, 2023
1 check passed
@robinandeer robinandeer deleted the feature/exchange-token-landing-page branch May 25, 2023 07:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants