Make session refresh retries idempotent
Preserve the successor session for legitimate refresh retries so transient failures no longer revoke the user's session family.
This commit is contained in:
@@ -60,6 +60,13 @@ paths:
|
||||
required: [refreshToken]
|
||||
properties:
|
||||
refreshToken: { type: string, minLength: 32 }
|
||||
refreshOperationId:
|
||||
type: string
|
||||
format: uuid
|
||||
description: |
|
||||
Stable ID for one logical refresh attempt. Retrying with the same
|
||||
ID returns the same successor while that session remains current
|
||||
and unexpired.
|
||||
responses:
|
||||
"200":
|
||||
description: Rotated session
|
||||
|
||||
Reference in New Issue
Block a user