feat(identity): confirm registration email atomically
This commit is contained in:
1 parent
8e7ce8d71c
commit
fade4e76e4
75 files changed
+4188
-403
No files matched your search
@@ -2680,13 +2680,19 @@ VerificationToken:
|
||||
description: 'One-time raw token copied from the verification link. It is request input only: the server stores only its hash and never returns a token.'
|
||||
EmailVerificationRequest:
|
||||
type: object
|
||||
description: Token from the email verification link.
|
||||
description: One-time token copied from the verification link and the password chosen for the registration that issued it. The password is never included in the link.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- token
|
||||
- password
|
||||
properties:
|
||||
token:
|
||||
$ref: '#/VerificationToken'
|
||||
password:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 128
|
||||
description: Password chosen for the registration that issued this token. It is sent in the request body and never appears in the verification link. The server applies NFKC normalization and the login length bounds, without reapplying the current new-registration blocklist.
|
||||
EmailVerificationResult:
|
||||
type: object
|
||||
description: Result of a successful email verification. It does not start a session; the user signs in next and continues from `onboarding_step`.
|
||||
|
||||
@@ -187,13 +187,26 @@ schemas:
|
||||
input only: the server stores only its hash and never returns a token.
|
||||
EmailVerificationRequest:
|
||||
type: object
|
||||
description: Token from the email verification link.
|
||||
description: >-
|
||||
One-time token copied from the verification link and the password chosen
|
||||
for the registration that issued it. The password is never included in
|
||||
the link.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- token
|
||||
- password
|
||||
properties:
|
||||
token:
|
||||
$ref: "#/schemas/VerificationToken"
|
||||
password:
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 128
|
||||
description: >-
|
||||
Password chosen for the registration that issued this token. It is
|
||||
sent in the request body and never appears in the verification link.
|
||||
The server applies NFKC normalization and the login length bounds,
|
||||
without reapplying the current new-registration blocklist.
|
||||
EmailVerificationResult:
|
||||
type: object
|
||||
description: >-
|
||||
|
||||
Reference in new issue
Block a user