[mod] role:authelia-for-gitlab
This commit is contained in:
parent
94e9c67d4f
commit
c03109b7aa
3 changed files with 20 additions and 5 deletions
|
@ -5,6 +5,6 @@ Um [GitLab](../gitlab) gegen [Authelia](../authelia) authentifizieren zu lassen
|
||||||
|
|
||||||
## Verweise
|
## Verweise
|
||||||
|
|
||||||
- [Authelia-Dokumentation | GitLab Integration](https://www.authelia.com/integration/openid-connect/gitlab/)
|
- [Authelia-Dokumentation | GitLab Integration](https://www.authelia.com/integration/openid-connect/gitlab/#authelia)
|
||||||
- [GitLab-Dokumentation | Use OpenID Connect as an OAuth 2.0 authentication provider](https://docs.gitlab.com/ee/administration/auth/oidc.html)
|
- [GitLab-Dokumentation | Use OpenID Connect as an OAuth 2.0 authentication provider](https://docs.gitlab.com/ee/administration/auth/oidc.html)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "{{var_authelia_for_gitlab_client_id}}",
|
"client_id": "{{var_authelia_for_gitlab_client_id}}",
|
||||||
"description": "GitLab",
|
"client_secret": "{{var_authelia_for_gitlab_client_secret}}",
|
||||||
"secret": "{{var_authelia_for_gitlab_client_secret}}",
|
"client_name": "GitLab",
|
||||||
"public": false,
|
"public": false,
|
||||||
"authorization_policy": "one_factor",
|
"authorization_policy": "one_factor",
|
||||||
"redirect_uris": [
|
"redirect_uris": [
|
||||||
|
@ -13,5 +13,6 @@
|
||||||
"groups",
|
"groups",
|
||||||
"email"
|
"email"
|
||||||
],
|
],
|
||||||
"userinfo_signing_algorithm": "none"
|
"userinfo_signing_algorithm": "none",
|
||||||
|
"token_endpoint_auth_method": "client_secret_basic"
|
||||||
}
|
}
|
||||||
|
|
14
ansible/roles/authelia-for-gitlab/vardef.json
Normal file
14
ansible/roles/authelia-for-gitlab/vardef.json
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"gitlab_url_base": {
|
||||||
|
"type": "string",
|
||||||
|
"mandatory": false
|
||||||
|
},
|
||||||
|
"client_id": {
|
||||||
|
"type": "string",
|
||||||
|
"mandatory": false
|
||||||
|
},
|
||||||
|
"client_secret": {
|
||||||
|
"type": "string",
|
||||||
|
"mandatory": false
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue