Repository navigation
Commit 1e6bf79
committed
fix(connect): stop reporting a loading cloud session as a sign-in change
Before the web or mobile client finishes loading its Clerk session, the relay
authorization path saw no cloud identity and failed with the blocked error
"Your cloud sign-in changed", parking the supervisor and sending users to fix
an auth problem that did not exist. On a slow host this window is easy to hit.
A missing identity at the start of an attempt now fails with a transient
session-pending error so the supervisor keeps retrying. A captured identity
that goes away or changes mid-attempt still blocks as a sign-in change.
Closes #110041 parent 348f217 commit 1e6bf79
3 files changed
Lines changed: 36 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
896 | 919 | | |
897 | 920 | | |
898 | 921 | | |
| |||
1014 | 1037 | | |
1015 | 1038 | | |
1016 | 1039 | | |
1017 | | - | |
1018 | | - | |
| 1040 | + | |
| 1041 | + | |
1019 | 1042 | | |
1020 | 1043 | | |
1021 | 1044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
257 | 266 | | |
258 | 267 | | |
259 | 268 | | |
| |||
365 | 374 | | |
366 | 375 | | |
367 | 376 | | |
368 | | - | |
| 377 | + | |
369 | 378 | | |
370 | 379 | | |
371 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments