Skip to content

Commit e3a35cd

Browse files
authored
Merge branch 'main' into feat/improve-development-usage
2 parents ba71760 + e2fa17b commit e3a35cd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

draft-parecki-oauth-client-id-metadata-document.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ Authorization servers fetching the client metadata document and resolving URLs l
271271
Authorization servers SHOULD limit the response size when fetching the client metadata document, as to avoid denial of service attacks against the authorization server by consuming excessive resources (memory, disk, database). The recommended maximum response size for client metadata documents is 5 kilobytes.
272272

273273

274+
## Displaying Logos to End-Users
275+
276+
Authorization servers that wish to make use of the `logo_uri` property within client metadata document SHOULD prefetch the file at `logo_uri` and cache it for the cache duration of the client metadata document. This allows for moderation tools to verify the file contents (e.g., preventing usage of logos that look like other logos), as well as preventing the logo from being dynamically changed to confuse an end-user.
277+
278+
Caching of the `logo_uri` response can additionally prevent cross-domain tracking through the `logo_uri` being requested by the client, since the cached file would be served not from the remote URI but instead from a URI that the Authorization server trusts.
279+
274280
# IANA Considerations
275281

276282
## OAuth Authorization Server Metadata Registry
@@ -301,7 +307,8 @@ The authors would like to thank the following people for their contributions and
301307

302308
-02
303309

304-
* Removed acceptance of query string parameters in Client ID Metadata Document URLs, since this encourages bad security practices (e.g., minting documents based on query string parameters)
310+
* Added security consideration around displaying logos to end users
311+
* Changed query string parameters in Client ID Metadata Document URLs to "SHOULD NOT", since this encourages bad security practices (e.g., minting documents based on query string parameters)
305312
* Added prohibition on the `client_secret_expires_at` property, as it is not relevant for Client ID Metadata Documents.
306313
* Added security consideration for development use-cases.
307314

0 commit comments

Comments
 (0)