Compare commits
1
Commits
170c3a069e
...
6144791cb9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6144791cb9
|
@@ -74,6 +74,19 @@
|
|||||||
bindPassword: "{{ openldap_readonly_password }}"
|
bindPassword: "{{ openldap_readonly_password }}"
|
||||||
usernameAttribute: uid
|
usernameAttribute: uid
|
||||||
publicSSHKeyAttribute: sshPublicKey
|
publicSSHKeyAttribute: sshPublicKey
|
||||||
|
# Sign-in through Dex; only members of Gitea Users (sent in the groups
|
||||||
|
# claim) may log in. The name "Dex" fixes the callback URL
|
||||||
|
# /user/oauth2/Dex/callback registered in Dex.
|
||||||
|
oauth:
|
||||||
|
- name: Dex
|
||||||
|
provider: openidConnect
|
||||||
|
key: gitea
|
||||||
|
secret: "{{ gitea_dex_client_secret }}"
|
||||||
|
autoDiscoverUrl: https://dex.eom.dev/.well-known/openid-configuration
|
||||||
|
scopes: "openid profile email groups"
|
||||||
|
requiredClaimName: groups
|
||||||
|
requiredClaimValue: Gitea Users
|
||||||
|
groupClaimName: groups
|
||||||
config:
|
config:
|
||||||
APP_NAME: "Gitea"
|
APP_NAME: "Gitea"
|
||||||
service:
|
service:
|
||||||
|
|||||||
Reference in New Issue
Block a user