Skip to content

Commit ad93aa6

Browse files
anoadragon453richvdh
authored andcommitted
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).
1 parent 466911b commit ad93aa6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correct examples of `client_secret` request body parameters so that they do not include invalid characters.

data/api/client-server/administrative_contact.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ paths:
139139
"id_server": "matrix.org",
140140
"id_access_token": "abc123_OpaqueString",
141141
"sid": "abc123987",
142-
"client_secret": "d0n'tT3ll"
142+
"client_secret": "d0nt-T3ll"
143143
}
144144
}
145145
responses:
@@ -215,7 +215,7 @@ paths:
215215
required: ["client_secret", "sid"]
216216
example: {
217217
"sid": "abc123987",
218-
"client_secret": "d0n'tT3ll"
218+
"client_secret": "d0nt-T3ll"
219219
}
220220
responses:
221221
200:
@@ -272,7 +272,7 @@ paths:
272272
"id_server": "example.org",
273273
"id_access_token": "abc123_OpaqueString",
274274
"sid": "abc123987",
275-
"client_secret": "d0n'tT3ll"
275+
"client_secret": "d0nt-T3ll"
276276
}
277277
responses:
278278
200:

0 commit comments

Comments
 (0)