Update settings docs to add extra introspection setting
This commit is contained in:
parent
8eeaf5cf33
commit
20a355d9f5
|
@ -21,21 +21,6 @@ If not specified, it will be automatically generated using ``request.scheme`` an
|
||||||
|
|
||||||
For example ``http://localhost:8000``.
|
For example ``http://localhost:8000``.
|
||||||
|
|
||||||
OIDC_RESOURCE_MODEL
|
|
||||||
===================
|
|
||||||
|
|
||||||
OPTIONAL. ``str``. Path to a custom API resource model.
|
|
||||||
|
|
||||||
Default is ``oidc_provider.Resource``.
|
|
||||||
|
|
||||||
Similar to the Django custom user model, you can extend the default model by adding ``AbstractResource`` as a mixin.
|
|
||||||
|
|
||||||
For example::
|
|
||||||
|
|
||||||
class CustomResource(AbstractResource):
|
|
||||||
custom_field = models.CharField(max_length=255, _(u'Some Custom Field'))
|
|
||||||
|
|
||||||
|
|
||||||
OIDC_AFTER_USERLOGIN_HOOK
|
OIDC_AFTER_USERLOGIN_HOOK
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
@ -121,6 +106,17 @@ Default is::
|
||||||
|
|
||||||
return introspection_response
|
return introspection_response
|
||||||
|
|
||||||
|
|
||||||
|
OIDC_INTROSPECTION_VALIDATE_AUDIENCE_SCOPE
|
||||||
|
==========================================
|
||||||
|
|
||||||
|
OPTIONAL ``bool``
|
||||||
|
|
||||||
|
A flag which toggles whether the audience is matched against the client resource scope when calling the introspection endpoint.
|
||||||
|
|
||||||
|
Default is ``True``.
|
||||||
|
|
||||||
|
|
||||||
OIDC_IDTOKEN_SUB_GENERATOR
|
OIDC_IDTOKEN_SUB_GENERATOR
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue