Clients should submit a POST request

This commit is contained in:
Andrew Morgan 2019-06-10 09:14:25 +01:00
parent 7116f9334e
commit 2068cba598
2 changed files with 11 additions and 13 deletions

View file

@ -145,10 +145,10 @@ paths:
description: |-
An optional field containing a URL where the client must
submit the validation token to, with identical parameters
to the Identity Service API's
``/validate/email/submitToken`` endpoint. The homeserver
must send this token to the user (if applicable), which
should then be prompted to provide it to the client.
to the Identity Service API's ``POST
/validate/email/submitToken`` endpoint. The homeserver must
send this token to the user (if applicable), which should
then be prompted to provide it to the client.
If this field is not present, the client can assume that
verification will happen without the client's involvement.

View file

@ -24,15 +24,13 @@ properties:
submit_url:
type: string
description: |-
An optional field containing a URL where the client must
submit the validation token to, with identical parameters
to the Identity Service API's
``/validate/email/submitToken`` endpoint. The homeserver
must send this token to the user (if applicable), which
should then be prompted to provide it to the client.
An optional field containing a URL where the client must submit the
validation token to, with identical parameters to the Identity Service
API's ``POST /validate/email/submitToken`` endpoint. The homeserver must
send this token to the user (if applicable), which should then be
prompted to provide it to the client.
If this field is not present, the client can assume that
verification will happen without the client's
involvement.
If this field is not present, the client can assume that verification
will happen without the client's involvement.
example: "https://example.org/path/to/submitToken"
required: ['sid']