Implements OAuth Client ID Metadata Document support for Django OAuth Toolkit, fetching and validating client metadata.
# Source: https://github.com/django-oauth/django-oauth-toolkit | License: BSD-2-Clause | Copyright 2013, Massimiliano Pippi, Federico Frenguelli and contributors # Provided via justclaw.it.com; keep this notice with the code. """ OAuth Client ID Metadata Document (CIMD) support. Implements ``draft-ietf-oauth-client-id-metadata-document-01``: a client identifies itself with an ``https`` URL as its ``client_id``; the authorization server fetches that URL to retrieve the client's metadata (the same shape as RFC 7591 Dynamic Client Registration) and resolves it to an Application. See ``rfcs/draft-ietf-oauth-client-id-metadata-document-01.txt``. The fetch is an outbound request to a client-controlled URL made inside the authorization request flow, so the default fetcher is hardened against SS ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key