Commit 13c11ed
committed
Fix pre-HYDRATE logout and IAM fetch TOCTOU race
- LogoutHelper: remove suppressBackendOperation=true in pre-HYDRATE
branch so CreateSubscriptionOperation is enqueued alongside the
anonymous LoginUserOperation (fixes IV=OFF path)
- InAppMessagesManager: capture JWT once before guard check to
eliminate TOCTOU between guard and backend call
- nit: LoginUserOperationExecutor: add error log when anonymous
LoginUserOperation is dropped with no subscription op1 parent fb2353f commit 13c11ed
File tree
3 files changed
+8
-8
lines changed- OneSignalSDK/onesignal
- core/src/main/java/com/onesignal/user/internal
- operations/impl/executors
- in-app-messages/src/main/java/com/onesignal/inAppMessages/internal
3 files changed
+8
-8
lines changedLines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | | - | |
| 48 | + | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
305 | 308 | | |
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
309 | 312 | | |
310 | | - | |
| 313 | + | |
311 | 314 | | |
312 | 315 | | |
313 | 316 | | |
| |||
328 | 331 | | |
329 | 332 | | |
330 | 333 | | |
331 | | - | |
332 | | - | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
| |||
0 commit comments