You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client metadata document MUST contain a `client_id` property whose value
164
177
MUST match the URL of the document using simple string comparison as
165
178
defined in [RFC3986] Section 6.2.1.
166
179
167
180
The client metadata document MAY define additional properties in the response.
168
-
The client metadata document MAY also be served with more specific content types
169
-
as long as the response is JSON and conforms to `application/<AS-defined>+json`.
181
+
182
+
The client metadata document should be served with a 200 OK HTTP status code,
183
+
have the content type of `application/json` or a more specific content type that
184
+
conforms to `application/<AS-defined>+json`, and be a valid JSON object
185
+
{{RFC8259}}.
170
186
171
187
As there is no way to establish a shared secret to be used with client metadata
172
188
documents, the following restrictions apply on the contents of the
@@ -196,14 +212,8 @@ To enable developers to author applications on their machines, without exposing
196
212
197
213
A Client ID Metadata Document Service is a web service through which developers can acquire a stable URL to a Client ID Metadata Document. This service MAY expire clients from time to time, and MAY require developers to provide additional information about the client being developed.
198
214
199
-
200
215
By providing at least one Client ID Metadata Document Service, an authorization server can enable developers to create applications, and still indicate to non-technical people that the client that they are about to authorize is currently under-development and may not be trustworthy or secure.
201
216
202
-
## Metadata Discovery Errors
203
-
204
-
If fetching the metadata document fails, the authorization server SHOULD abort the
205
-
authorization request.
206
-
207
217
## Metadata Caching
208
218
209
219
The authorization server MAY cache the client metadata it discovers at the
0 commit comments