Merge lp:~roadmr/canonical-identity-provider/better-evil-token-instructions into lp:canonical-identity-provider/release
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | no longer in the source branch. |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | lp:~roadmr/canonical-identity-provider/better-evil-token-instructions |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
69 lines (+41/-2) 3 files modified
src/webui/templates/404-no-token.html (+27/-0) src/webui/tests/test_views_ui.py (+3/-1) src/webui/views/ui.py (+11/-1) |
To merge this branch: | bzr merge lp:~roadmr/canonical-identity-provider/better-evil-token-instructions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maximiliano Bertacchini | Approve | ||
Review via email: mp+367285@code.launchpad.net |
Commit message
Show friendly help if we can't find the openid session token from a validation link
The most common reason for that is initiating a login on a third-party site,
creating the account in sso as part of the flow, then clicking on the
activation link on another device or browser.
SO instead of sending people to a terse 404 page which causes them to fume and
come file bugs which end up as dupes of https:/
a 404-code) page explains what to do and provides a link where they can
validate their e-mail address out of the third-party login flow (which is the
workaround we recommend anyway, after painful back and forth checking the
format of the link they clicked on and referring to the cited bug)
Description of the change
I'm fed up with all the dupes of https:/
The rendered page looks like https:/
LGTM, with a couple of nitpicks. Thanks!