Commit 69364e3
Jah-yee
Fix: preserve existing refresh_token when server omits it in refresh response
Per RFC 6749 Section 6, the server MAY issue a new refresh token.
If the response omits it, preserve the existing one to prevent
can_refresh_token() from returning False after first refresh.
Fixes #22701 parent 62eb08e commit 69364e3
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
461 | 472 | | |
462 | 473 | | |
463 | 474 | | |
| |||
0 commit comments