| 1 |
CERN |
| 2 |
---- |
| 3 |
|
| 4 |
Members of the scientific commmunity affiliated with CERN (https://home.cern/about) |
| 5 |
can put their applications behind CERN SSO, which supports OIDC and SAML protocols. |
| 6 |
For OIDC, use the regular OpenID Connect configuration: |
| 7 |
|
| 8 |
.. code-block:: python |
| 9 |
|
| 10 |
SOCIALACCOUNT_PROVIDERS = { |
| 11 |
"openid_connect": { |
| 12 |
"APPS": [ |
| 13 |
{ |
| 14 |
"provider_id": "cern", |
| 15 |
"name": "CERN", |
| 16 |
"client_id": "<insert-id>", |
| 17 |
"secret": "<insert-secret>", |
| 18 |
"settings": { |
| 19 |
"server_url": "https://auth.cern.ch/auth/realms/cern/.well-known/openid-configuration" |
| 20 |
} |
| 21 |
} |
| 22 |
] |
| 23 |
} |
| 24 |
} |
| 25 |
|
| 26 |
App registration (get your key and secret here) |
| 27 |
https://application-portal.web.cern.ch/ |
| 28 |
|
| 29 |
Documentation |
| 30 |
https://auth.docs.cern.ch/applications/application-configuration/ |