Skip to content

Commit 77aedee

Browse files
committed
docs: add docs for scopes
1 parent b31e0f6 commit 77aedee

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

docs/settings_ref.rst

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,17 @@ The dictionary can also map extra details to the Django user account using an
117117
`Extension of the User model <https://docs.djangoproject.com/en/stable/topics/auth/customizing/#extending-the-existing-user-model>`_
118118
Set a dictionary as value in the CLAIM_MAPPING setting with as key the name User model.
119119
You will need to make sure the related field exists before the user authenticates.
120-
This can be done by creating a receiver on the
120+
This can be done by creating a receiver on the
121121
`post_save <https://docs.djangoproject.com/en/4.0/ref/signals/#post-save>`_ signal that
122122
creates the related instance when the ``User`` instance is created.
123123

124124
example
125125

126126
.. code-block:: python
127127
128-
'CLAIM_MAPPING': {'first_name': 'given_name',
129-
'last_name': 'family_name',
130-
'email': 'upn',
128+
'CLAIM_MAPPING': {'first_name': 'given_name',
129+
'last_name': 'family_name',
130+
'email': 'upn',
131131
'userprofile': {
132132
'employee_id': 'employeeid'
133133
}}
@@ -369,6 +369,16 @@ RETRIES
369369
The number of time a request to the ADFS server is retried. It allows, in combination with :ref:`timeout_setting`
370370
to fine tune the behaviour of the connection to ADFS.
371371

372+
373+
SCOPES
374+
------
375+
* **Default**: ``[]``
376+
* **Type**: ``list``
377+
378+
**Only used when you have v2 AzureAD config**
379+
380+
381+
372382
SERVER
373383
------
374384
* **Default**:

0 commit comments

Comments
 (0)