Resolve "[FE] Create setting to force the user to register/use new credentials for a specific group"

What does this MR do?

Improve SAML settings with validation, design, and help text

  • SAML settings checkboxes now use toggle buttons
  • Client-side validation for enabling/disabling various SAML options
  • Helper text and callouts depending on which options are enabled

(In all honesty, it might've been faster to move this section into Vue 😆)

Screenshots

Before

image

After

SAML disabled SAML enabled Enforce SSO enabled Group managed accounts enabled
image image image image

Demo

10206-demo

How to test

You need to add the below to your config/gitlab.yml file

providers:
  - { name: 'group_saml' }

Enable the following feature flags in the Rails console (rails c):

  • Feature.enable(:enforced_sso)
  • Feature.enable(:group_scim)
  • Feature.enable(:group_managed_accounts)

Then select a group -> hover settings -> select SAML SSO

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/10206

Does this MR meet the acceptance criteria?

Closes #10206 (closed)

Edited by Dennis Tang