Add nextcloud client
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-02-02 09:58:22 +01:00
parent 03daaec508
commit 3245216061
2 changed files with 24 additions and 0 deletions
+18
View File
@@ -73,3 +73,21 @@ resource "keycloak_openid_client" "twomartens_gitea" {
"https://git.2martens.de/user/oauth2/keycloak/callback"
]
}
resource "keycloak_openid_client" "twomartens_nextcloud" {
realm_id = keycloak_realm.twomartens_realm.id
name = "cloud.2martens.de"
enabled = true
access_type = "CONFIDENTIAL"
client_id = "nextcloud"
client_secret = var.nextcloud_client_secret
standard_flow_enabled = true
use_refresh_tokens = false
consent_required = true
base_url = "https://cloud.2martens.de"
valid_redirect_uris = [
"https://cloud.2martens.de/index.php/apps/sociallogin/custom_oidc/keycloak"
]
}
+6
View File
@@ -114,4 +114,10 @@ variable "gitea_client_secret" {
description = "Client Secret of the Gitea OpenID client"
type = string
sensitive = true
}
variable "nextcloud_client_secret" {
description = "Client Secret of the Nextcloud OpenID client"
type = string
sensitive = true
}