Clients should submit a POST request

anoa/hs_3pid_tokens
Andrew Morgan 5 years ago
parent 7116f9334e
commit 2068cba598

@ -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.

@ -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']

Loading…
Cancel
Save