Skip to content

Dot in Group name cause SCIM auth checks to fail

Summary

If a GitLab.com group has a dot or period in its name, API endpoint calls fail with an Invalid JSON: Unexpected character error.

Steps to reproduce

  1. Have a group with a . in the name.
  2. Configure SAML auth with Okta
  3. Configure SCIM with Okta's Marketplace GitLab app
  4. When at the test phase, the app will fail with the attached message: Okta-SCIM-Fail

Example Group

https://gitlab.com/alvins-test.ai (admin access required to view)

This shows the group name that I tested with. You will not be able to view the error as it appears in the SCIM app logs.

What is the current bug behavior?

Okta's auth test fails

What is the expected correct behavior?

Okta's auth test should pass

Relevant logs and/or screenshots

Possible workarounds

Note: URL encoded the path to use %2E does not work.

  1. Rename the group path

Proposal

See #429500 (comment 1620852643) for suggested fix

Edited by Adil Farrukh