Skip to content

Commit 554f4bd

Browse files
authored
fix sso exemple config for authelia
1 parent 1871b2c commit 554f4bd

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

docs/setup/sso.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -101,26 +101,25 @@ Authentication service configuration:
101101
```yaml
102102
upstream_oauth2:
103103
providers:
104-
providers:
105-
- id: <id>
106-
human_name: Authelia
107-
issuer: "https://<authelia-fqdn>" # TO BE FILLED W/O ANY TRAILING SLASHES
108-
client_id: "<client-id>" # TO BE FILLED
109-
client_secret: "<client-secret>" # TO BE FILLED
110-
token_endpoint_auth_method: client_secret_basic
111-
scope: "openid profile email"
112-
discovery_mode: insecure
113-
claims_imports:
114-
localpart:
115-
action: require
116-
template: "{{ user.preferred_username }}"
117-
displayname:
118-
action: suggest
119-
template: "{{ user.name }}"
120-
email:
121-
action: suggest
122-
template: "{{ user.email }}"
123-
set_email_verification: always
104+
- id: <id>
105+
human_name: Authelia
106+
issuer: "https://<authelia-fqdn>" # TO BE FILLED W/O ANY TRAILING SLASHES
107+
client_id: "<client-id>" # TO BE FILLED
108+
client_secret: "<client-secret>" # TO BE FILLED
109+
token_endpoint_auth_method: client_secret_basic
110+
scope: "openid profile email"
111+
discovery_mode: insecure
112+
claims_imports:
113+
localpart:
114+
action: require
115+
template: "{{ user.preferred_username }}"
116+
displayname:
117+
action: suggest
118+
template: "{{ user.name }}"
119+
email:
120+
action: suggest
121+
template: "{{ user.email }}"
122+
set_email_verification: always
124123
```
125124
126125

0 commit comments

Comments
 (0)