Joshen Lim
0c95428678
fix(studio): strip auth error and method params when building sign-in redirects ( #53598 )
...
## Context
Bit of an odd bug that I happened to come across which I can't remember
how to reproduce from scratch but its a valid issue.
If i try to log in on the sign-in route with `method` and
`error_description` query params in the URL, the `error_description`
param gets carried forward to the next page, which if my account has
MFA, it'll then bounce back to `/sign-in`
`/sign-in?error_description=Unable+to+exchange+external+code%3A+53f8&method=github`
Am opting to strip transient params when building the sign-in redirects
## To test
- [ ] Ensure that you've got an account with MFA
- [ ] Try logging in via this URL
`/sign-in?error_description=Unable+to+exchange+external+code%3A+53f8&method=github`
- [ ] You should be able to land on the sign-in-mfa page with no issue +
no error toasts
2026-11-19 13:10:07 +07:00
..
2026-10-23 18:51:27 +08:00
2026-11-09 17:42:43 +11:00
2026-11-13 11:02:46 -05:00
2026-11-17 17:49:20 +09:00
2026-11-11 16:34:02 +09:00
2026-11-18 16:48:25 +07:00
2026-09-08 18:26:41 +08:00
2026-07-25 00:00:37 +10:00
2026-09-29 15:28:49 -04:00
2026-10-06 15:56:48 -04:00
2026-11-04 13:19:01 -05:00
2026-03-19 11:43:02 +11:00
2026-04-07 20:34:10 -04:00
2025-07-03 12:41:11 +02:00
2026-11-17 17:33:02 +09:00
2026-10-01 12:04:07 +10:00
2026-10-01 12:04:07 +10:00
2026-04-27 17:42:34 +08:00
2026-11-17 17:49:20 +09:00
2026-10-27 20:50:25 +08:00
2026-10-27 20:50:25 +08:00
2026-10-12 10:26:51 +11:00
2026-10-12 10:26:51 +11:00
2026-10-27 14:47:27 +01:00
2026-10-27 14:47:27 +01:00
2026-10-23 18:51:27 +08:00
2026-10-07 09:43:28 -04:00
2026-11-17 17:33:02 +09:00
2026-04-07 20:34:10 -04:00
2026-05-06 14:52:36 +02:00
2026-11-17 17:33:02 +09:00
2026-03-23 21:20:47 +00:00
2026-11-17 17:49:20 +09:00
2026-11-17 17:49:20 +09:00
2026-10-23 18:51:27 +08:00
2026-11-18 11:06:59 +07:00
2026-11-13 08:02:50 -05:00
2026-10-23 18:51:27 +08:00
2026-05-04 13:08:06 -04:00
2026-08-04 09:02:40 -04:00
2026-08-04 09:02:40 -04:00
2026-10-23 18:51:27 +08:00
2026-06-04 07:41:28 -06:00
2026-11-19 13:10:07 +07:00
2026-11-19 13:10:07 +07:00
2026-11-10 15:30:58 -05:00
2026-11-10 15:30:58 -05:00
2026-11-09 15:42:24 +00:00
2026-11-09 15:42:24 +00:00
2026-11-17 17:33:02 +09:00
2026-04-07 20:34:10 -04:00
2025-06-27 11:10:25 +02:00
2026-09-30 12:59:36 +08:00
2026-11-04 13:19:01 -05:00
2026-10-28 19:23:11 +08:00
2026-10-28 19:23:11 +08:00
2026-10-23 18:51:27 +08:00
2025-08-14 21:23:08 +02:00
2026-08-07 13:40:18 +07:00
2026-08-07 13:40:18 +07:00
2026-05-04 07:08:35 -06:00
2026-11-17 16:38:23 -08:00
2026-10-23 18:51:27 +08:00
2026-04-08 16:54:31 +02:00
2026-04-07 20:34:10 -04:00
2024-07-17 13:27:00 +08:00
2026-10-23 18:51:27 +08:00
2026-09-15 10:07:49 +10:00
2026-06-25 11:08:26 -04:00
2026-07-08 14:52:59 +08:00
2026-07-08 14:52:59 +08:00
2026-03-09 15:25:05 +07:00
2026-03-09 15:25:05 +07:00
2026-07-06 17:38:03 +08:00
2026-07-06 17:38:03 +08:00
2026-08-14 14:56:23 +02:00
2026-03-11 13:55:20 +01:00
2026-04-07 20:34:10 -04:00
2023-11-15 12:38:55 +01:00
2026-04-07 20:34:10 -04:00
2026-04-07 20:34:10 -04:00
2026-05-13 14:57:08 -04:00
2026-11-10 01:13:50 +09:00
2026-11-10 01:13:50 +09:00
2026-11-05 10:31:28 -06:00
2026-11-05 10:31:28 -06:00
2026-11-17 17:49:20 +09:00
2026-11-17 17:49:20 +09:00
2026-09-10 16:45:54 +08:00
2026-09-10 16:45:54 +08:00
2026-04-27 17:42:34 +08:00
2026-10-23 18:51:27 +08:00
2026-06-09 08:25:29 -06:00
2026-11-10 15:10:26 +02:00
2026-11-10 15:10:26 +02:00
2026-11-10 15:10:26 +02:00
2026-06-09 08:25:29 -06:00
2026-04-02 11:09:18 +11:00
2025-10-22 08:57:49 -04:00
2025-10-22 08:57:49 -04:00
2026-05-04 13:08:06 -04:00
2026-08-18 11:27:09 +08:00
2026-07-08 14:52:59 +08:00
2026-07-08 14:52:59 +08:00
2026-10-19 21:00:40 +02:00
2026-07-08 14:52:59 +08:00
2025-10-22 08:57:49 -04:00
2025-10-22 08:57:49 -04:00
2026-11-02 15:42:59 +00:00
2026-11-02 15:42:59 +00:00
2026-10-23 18:51:27 +08:00
2026-01-22 11:17:49 -05:00
2026-11-06 19:24:48 +00:00
2026-11-06 19:24:48 +00:00
2026-11-17 17:49:20 +09:00
2026-11-17 17:49:20 +09:00
2026-11-17 17:49:20 +09:00
2026-11-17 17:49:20 +09:00
2026-10-23 18:51:27 +08:00
2026-10-05 18:36:13 +11:00
2026-09-25 15:38:23 +08:00
2026-09-25 15:38:23 +08:00
2026-06-18 15:34:56 +08:00
2026-10-14 12:56:55 +02:00
2026-10-23 18:51:27 +08:00
2026-05-04 16:21:47 +08:00
2026-04-07 20:34:10 -04:00
2026-04-07 20:34:10 -04:00
2026-04-07 20:34:10 -04:00
2026-04-27 17:42:34 +08:00
2026-05-13 14:57:08 -04:00
2026-11-17 17:49:20 +09:00
2026-11-17 17:49:20 +09:00
2026-10-06 10:11:26 +11:00
2026-09-02 19:02:37 +08:00
2026-10-26 09:45:23 +01:00
2026-03-30 10:58:37 +02:00
2026-05-13 14:57:08 -04:00
2026-09-10 16:45:54 +08:00
2026-04-27 17:42:34 +08:00
2023-11-15 12:38:55 +01:00
2026-11-17 09:27:56 -06:00
2026-10-19 15:25:32 +02:00