| 1 |
Clients |
| 2 |
======= |
| 3 |
|
| 4 |
The Open ID Connect clients (also commonly referred to as consumers, or applications) can be managed via the Django admin. A typical client configuration has the following properties: |
| 5 |
|
| 6 |
Name |
| 7 |
The name of the client. This is displayed in the authorization page. |
| 8 |
|
| 9 |
ID |
| 10 |
The client ID. This field is automatically populated. |
| 11 |
|
| 12 |
Secret |
| 13 |
The client secret. When adding clients using the Django admin, the secret is |
| 14 |
automatically generated and displayed only once via a message at creation |
| 15 |
time. |
| 16 |
|
| 17 |
Scopes |
| 18 |
The scope(s) the client is allowed to request. Values are provide line by line, e.g.:: |
| 19 |
|
| 20 |
openid |
| 21 |
profile |
| 22 |
email |
| 23 |
|
| 24 |
Default scopes |
| 25 |
In case the client does not specify any scope, this are the default scope |
| 26 |
that will be used. Values are provide line by line. |
| 27 |
|
| 28 |
Grant types |
| 29 |
A list of allowed grant types. Provide one value per line, e.g.:: |
| 30 |
|
| 31 |
authorization_code |
| 32 |
client_credentials |
| 33 |
refresh_token |
| 34 |
|
| 35 |
CORS origins |
| 36 |
A list of allowed origins for cross-origin requests, one per line. |
| 37 |
|
| 38 |
Redirect URIs |
| 39 |
A list of allowed redirect (callback) URLs, one per line. |
| 40 |
|
| 41 |
Allow URI wildcards |
| 42 |
When enabled, allows the use of wildcards (*) in redirect URIs and CORS origins. |
| 43 |
This is particularly useful for supporting deploy previews from services like |
| 44 |
Cloudflare Pages or Netlify, where preview URLs may contain dynamic subdomains |
| 45 |
(e.g., ``https://*.project.pages.dev``). When wildcards are enabled: |
| 46 |
|
| 47 |
- URIs can contain a single asterisk (*) |
| 48 |
- Only the hostname portion of the URI is allowed to contain a wildcard |
| 49 |
|
| 50 |
Response types |
| 51 |
A list of allowed response types. Provide one value per line, e.g.:: |
| 52 |
|
| 53 |
code |
| 54 |
|
| 55 |
Skip consent |
| 56 |
When enabled, the consent page is silently skipped and all requested scopes are granted. |
| 57 |
|
| 58 |
Type |
| 59 |
Confidential clients are clients that are able to securely authenticate with |
| 60 |
the authorization server as they are able to keep their registered client |
| 61 |
secret safe. Public clients, such as applications running in a browser or |
| 62 |
mobile device, are unable to keep the client secrets safe. |