Add a display field to Identity Providers

This commit is contained in:
Valentin Samir
2016-07-04 17:40:31 +02:00
parent aa433d3c58
commit b0a07efe41
9 changed files with 119 additions and 74 deletions

View File

@ -354,6 +354,9 @@ An identity provider comes with 5 fields:
* `CAS protocol version`: the version of the CAS protocol to use to contact the identity provider.
The default is version 3.
* `Verbose name`: the name used on the login page to display the identity provider.
* `Display`: a boolean controlling the display of the identity provider on the login page.
Beware that this do not disable the identity provider, it just hide it on the login page.
User will always be able to log in using this provider by fetching `/federate/provider_suffix`.
In federation mode, ``django-cas-server`` build user's username as follow: