David Taylor 127214c613
UX: Improve error handling for DiscourseConnect (#26140)
Previously, if the sso= payload was invalid Base64, but signed correctly, there would be no useful log or error. This commit improves things by:

- moving the base64 check before the signature checking so that it's properly surfaced
- split the ParseError exception into PayloadParseError and SignatureError
- add user-facing errors for both of those
- add/improve spec for both
2024-03-12 16:16:04 +00:00
..
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2023-12-21 18:03:57 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-02-20 09:42:19 -05:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-01-30 17:05:37 +01:00
2024-03-12 15:40:11 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2024-03-05 16:47:46 +01:00
2024-03-12 15:40:11 +01:00
2024-03-05 16:47:46 +01:00
2017-02-24 11:35:33 +01:00