mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-20 10:24:10 +01:00
Clients should submit a POST request
This commit is contained in:
parent
7116f9334e
commit
2068cba598
|
|
@ -145,10 +145,10 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
An optional field containing a URL where the client must
|
An optional field containing a URL where the client must
|
||||||
submit the validation token to, with identical parameters
|
submit the validation token to, with identical parameters
|
||||||
to the Identity Service API's
|
to the Identity Service API's ``POST
|
||||||
``/validate/email/submitToken`` endpoint. The homeserver
|
/validate/email/submitToken`` endpoint. The homeserver must
|
||||||
must send this token to the user (if applicable), which
|
send this token to the user (if applicable), which should
|
||||||
should then be prompted to provide it to the client.
|
then be prompted to provide it to the client.
|
||||||
|
|
||||||
If this field is not present, the client can assume that
|
If this field is not present, the client can assume that
|
||||||
verification will happen without the client's involvement.
|
verification will happen without the client's involvement.
|
||||||
|
|
|
||||||
|
|
@ -24,15 +24,13 @@ properties:
|
||||||
submit_url:
|
submit_url:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
An optional field containing a URL where the client must
|
An optional field containing a URL where the client must submit the
|
||||||
submit the validation token to, with identical parameters
|
validation token to, with identical parameters to the Identity Service
|
||||||
to the Identity Service API's
|
API's ``POST /validate/email/submitToken`` endpoint. The homeserver must
|
||||||
``/validate/email/submitToken`` endpoint. The homeserver
|
send this token to the user (if applicable), which should then be
|
||||||
must send this token to the user (if applicable), which
|
prompted to provide it to the client.
|
||||||
should then be prompted to provide it to the client.
|
|
||||||
|
|
||||||
If this field is not present, the client can assume that
|
If this field is not present, the client can assume that verification
|
||||||
verification will happen without the client's
|
will happen without the client's involvement.
|
||||||
involvement.
|
|
||||||
example: "https://example.org/path/to/submitToken"
|
example: "https://example.org/path/to/submitToken"
|
||||||
required: ['sid']
|
required: ['sid']
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue