From 166efd1927c26bbe7dcc0eb61ba9f5d6017ec9e7 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Wed, 22 Dec 2021 17:02:03 +0100 Subject: [PATCH] link existing WP users --- flux2/apps/wordpress/wordpress-values-configmap.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flux2/apps/wordpress/wordpress-values-configmap.yaml b/flux2/apps/wordpress/wordpress-values-configmap.yaml index 18d1c6591..e2b92b814 100644 --- a/flux2/apps/wordpress/wordpress-values-configmap.yaml +++ b/flux2/apps/wordpress/wordpress-values-configmap.yaml @@ -32,6 +32,10 @@ data: endpoint_userinfo: https://sso.${domain}/userinfo endpoint_token: https://sso.${domain}/oauth2/token endpoint_end_session: "" + # If a WordPress account already exists with the same identity as a + # newly-authenticated user over OpenID Connect, login as that user + # instead of generating an error. + link_existing_users: "1" # After our SSO supports it, we should set this as the logout URL # https://open.greenhost.net/stackspin/single-sign-on/issues/28 # endpoint_end_session: https://sso.${domain}/oauth2/sessions/logout -- GitLab