Debian Codegraph @

docs/socialaccount/providers/authelia.rst

raw
1 Authelia
2 --------
3
4 At the time of writing, `Authelia <https://www.authelia.com/>`__ supports OpenID Connect (OIDC) as a beta feature. Detailed information about the available configuration options can be found on their `website <https://www.authelia.com/configuration/identity-providers/openid-connect/clients/>`__.
5
6 As documented at https://www.authelia.com/integration/openid-connect/introduction/ the Well Known Discovery Endpoint that can be used as the server url is ``https://auth.example.com/.well-known/openid-configuration`` where ``https://auth.example.com/`` should be replaced by the specific url of your instance of Authelia.
7
8 An example configuration for authelia would look like this::
9
10
11 SOCIALACCOUNT_PROVIDERS = {
12 "openid_connect": {
13 "APPS": [
14 {
15 "provider_id": "authelia",
16 "name": "Authelia SSO",
17 "client_id": "<insert-id>",
18 "secret": "<insert-secret>",
19 "settings": {
20 "server_url": "https://auth.example.com/.well-known/openid-configuration"
21 }
22 }
23 ]
24 }
25 }
26
27 Note that the client id and the secret must match the configuration in Authelia for this django-allauth app.