Update client_secret examples so that they are valid (#2985)

The regex of allowed characters for a `client_secret` parameter is `[0-9a-zA-Z.=_-]`.

This PR updates the `client_secret` spec examples, which currently include an invalid character (an apostrophe).
This commit is contained in:
Andrew Morgan 2021-05-05 11:47:23 +01:00 committed by Richard van der Hoff
parent 466911b253
commit ad93aa6546
2 changed files with 4 additions and 3 deletions

View file

@ -139,7 +139,7 @@ paths:
"id_server": "matrix.org",
"id_access_token": "abc123_OpaqueString",
"sid": "abc123987",
"client_secret": "d0n'tT3ll"
"client_secret": "d0nt-T3ll"
}
}
responses:
@ -215,7 +215,7 @@ paths:
required: ["client_secret", "sid"]
example: {
"sid": "abc123987",
"client_secret": "d0n'tT3ll"
"client_secret": "d0nt-T3ll"
}
responses:
200:
@ -272,7 +272,7 @@ paths:
"id_server": "example.org",
"id_access_token": "abc123_OpaqueString",
"sid": "abc123987",
"client_secret": "d0n'tT3ll"
"client_secret": "d0nt-T3ll"
}
responses:
200: