From 125d84cbd1c6971cd51e07ac4c14cf2bbb7ba337 Mon Sep 17 00:00:00 2001 From: Richard Wei <54336863+WaysonWei@users.noreply.github.com> Date: Fri, 14 Jan 2022 13:42:16 +1300 Subject: [PATCH] fix automatic team membership toggle issue (#6382) --- .../oauth-settings/oauth-settings.html | 36 +++++++------------ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/app/portainer/oauth/components/oauth-settings/oauth-settings.html b/app/portainer/oauth/components/oauth-settings/oauth-settings.html index 9d441a8a2..dfb92022b 100644 --- a/app/portainer/oauth/components/oauth-settings/oauth-settings.html +++ b/app/portainer/oauth/components/oauth-settings/oauth-settings.html @@ -1,7 +1,5 @@ -
- Single Sign-On -
+
Single Sign-On
@@ -50,14 +48,14 @@
- + You have not yet created any teams. Head over to the Teams view to manage teams.

- + The default team option will be disabled when automatic team membership is enabled

@@ -84,20 +82,16 @@
-
- Team membership -
+
Team membership
-
- Automatic team membership synchronizes the team membership based on a custom claim in the token from the OAuth provider. -
+
Automatic team membership synchronizes the team membership based on a custom claim in the token from the OAuth provider.
@@ -118,20 +112,18 @@
- +
- + add team mapping -
+
claim value regex
- maps to + maps to
team