Commit 65b0e3e
fix(oauth): synchronize cookie and session duration with remember_me=true
- Pass remember_me=true to sign_in_identity and sign_up_identity
- Pass rememberMe=true to getSessionCookieConfig
- Add device_token to sign_up_identity call
- Ensures cookie and DB session both use remember_me_duration (30 days)
Fixes PR #1141 follow-up items #4 and #8:
- #4: sign_up_identity now receives device_token
- #8: Cookie and session duration now synchronized
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 65eec98 commit 65b0e3e
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
| |||
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
520 | | - | |
| 521 | + | |
521 | 522 | | |
522 | 523 | | |
523 | 524 | | |
| |||
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
| 530 | + | |
| 531 | + | |
529 | 532 | | |
530 | 533 | | |
531 | 534 | | |
| |||
564 | 567 | | |
565 | 568 | | |
566 | 569 | | |
567 | | - | |
| 570 | + | |
568 | 571 | | |
569 | 572 | | |
570 | 573 | | |
| |||
0 commit comments