Fix documentation typo for OIDC_EXTRA_SCOPE_CLAIMS

Replace 'OIDC_USERINFO' with 'OIDC_EXTRA_SCOPE_CLAIMS' for extra scope claims settings.py
This commit is contained in:
honewatson 2017-04-02 14:34:50 +10:00 committed by GitHub
parent 1727073447
commit b46c92a3e8

View file

@ -78,7 +78,7 @@ Let's say that you want add your custom ``foo`` scope for your OAuth2/OpenID pro
Somewhere in your Django ``settings.py``:: Somewhere in your Django ``settings.py``::
OIDC_USERINFO = 'yourproject.oidc_provider_settings.CustomScopeClaims' OIDC_EXTRA_SCOPE_CLAIMS = 'yourproject.oidc_provider_settings.CustomScopeClaims'
Inside your oidc_provider_settings.py file add the following class:: Inside your oidc_provider_settings.py file add the following class::