From 0ea5fd9141f89beba42f6ba4795fe6d261d9a8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Gourv=C3=A9nec?= Date: Fri, 10 Jan 2025 15:27:38 +0100 Subject: [PATCH 1/2] feat(hydra-ldap): list fetched LDAP attributes and their matching claims Gives a hint for people wanting to modify this parameter --- components/hydra-ldap/kustomization.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/components/hydra-ldap/kustomization.yaml b/components/hydra-ldap/kustomization.yaml index 34b655e..81b13de 100644 --- a/components/hydra-ldap/kustomization.yaml +++ b/components/hydra-ldap/kustomization.yaml @@ -16,6 +16,7 @@ configMapGenerator: - WERTHER_LDAP_ENDPOINTS="ldap.test.fr:636" - WERTHER_LDAP_IS_TLS=true - WERTHER_LDAP_BASEDN="o=test,c=fr" + - WERTHER_LDAP_ATTR_CLAIMS="name:name,sn:family_name,givenName:given_name,mail:email" - WERTHER_LDAP_ROLE_BASEDN="ou=groups,o=test,c=fr" - WERTHER_LDAP_CONNECTION_TIMEOUT="10s" -- 2.17.1 From 7dedf3f7e56692e4c09a9e0b6c1793e8e38507d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Gourv=C3=A9nec?= Date: Fri, 10 Jan 2025 15:28:17 +0100 Subject: [PATCH 2/2] feat(oidc-test): request scope "profile" --- components/oidc-test/kustomization.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/oidc-test/kustomization.yaml b/components/oidc-test/kustomization.yaml index af94763..f007063 100644 --- a/components/oidc-test/kustomization.yaml +++ b/components/oidc-test/kustomization.yaml @@ -17,4 +17,5 @@ configMapGenerator: - OIDC_REDIRECT_URL=https://example.net/oauth2/callback - OIDC_POST_LOGOUT_REDIRECT_URL=https://example.net - OIDC_SKIP_ISSUER_VERIFICATION="true" - - OIDC_INSECURE_SKIP_VERIFY="true" \ No newline at end of file + - OIDC_INSECURE_SKIP_VERIFY="true" + - OIDC_SCOPES="openid profile" -- 2.17.1