Follow-up from "SCIM specific token for group SSO" - Convert to Vue
Convert the changes made in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9619 into VueJS
Implementation plan
- Create a new mount element in
ee/app/views/groups/saml_providers/_scim_token.html.haml- Pass
scim_token_urlas a data attribute
- Pass
- Create a new Vue component (
scim_token.vue) inee/app/assets/javascripts/saml_sso/components- Inject
scimTokenUrl - If
scimTokenUrlisnullrender aGenerate a SCIM tokenbutton - When
Generate a SCIM tokenbutton is clicked make a network request usingSCIMTokenService - Render token and url using app/assets/javascripts/vue_shared/components/clipboard_button.vue and
GlInputGroup
- Inject
- Export
initScimTokenfromee/app/assets/javascripts/saml_sso/index.js- Mount
scim_token.vue - Parse data attributes
- Provide
scimTokenUrl
- Mount
Edited by Peter Hegman