Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
There is a request to make the guidance page the start page.
Navigating to the service should redirect the user to the sign page
without having to press the Start now button again.
I considered updating the guidance page and making the POST request from
there.
This introduces a longer development cycle and makes it slower to make
changes as another team has to be involved.
Instead, I opted to contain the change within this service. There is a
library called repost that can help us here.
It allows us to do a POST redirect by rendering a form with the redirect
URL and auto-submits it.
This has the end result of doing a POST redirect.
Some limitations are that the redirect won't trigger when Javascript is
disabled.
Changes proposed in this pull request
Guidance to review
Link to Trello card
Checklist