Skip to content

Convert SCIM token management to Vue

What does this MR do and why?

Related to #10746 (closed)

Converts SCIM token management from HAML/vanilla JS to Vue. In the process it also improves security by hiding the token by default and requiring user to click a button to reveal the token.

Screenshots or screen recordings

Before

Screen_Recording_2021-12-06_at_3.53.21_PM

After scim_token_vue disabled

Expected to be the same as "Before"

Screen_Recording_2021-12-06_at_3.45.54_PM

After scim_token_vue enabled

Untitled__5_

How to set up and validate locally

SAML is not the easiest to setup so if you need help or want a demo let me know!

  1. Setup SAML using the GDK guide: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/saml.md
  2. Enable the scim_token_vue feature flag
    • bin/rails console
    • Feature.enable(:scim_token_vue)
  3. Navigate to a group -> Settings -> SAML SSO
  4. Click Generate a SCIM token

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading