Error 5xx on adding base url with group name with period(.) in okta SCIM provisioning
<!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label: - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=bug and verify the issue you're about to submit isn't a duplicate. ---> ### Summary When we have a group name with period in it like `abc.xyz` then at the time of Okta configuration steps when we insert the values for enabling API integration `BASE URL` it doesn't accept the generated URL with period in it in the group name. Which at the time of testing API credentials throws following error. ``` Error authenticating: Service Temporarily Unavailable. Errors reported by remote server: Invalid JSON: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@230d1df5; line: 1, column: 2] ``` ### Steps to reproduce Same as above ### What is the current *bug* behavior? Same as above ### What is the expected *correct* behavior? It should URL encode the group name if it has period in it. <!-- Describe what you should see instead. --> ### Relevant logs and/or screenshots ![Screenshot_2021-05-25_at_11.25.23_AM](https://gitlab.com/-/project/278964/uploads/1bc3a7436a9045c5a5c46f7a34634eff/Screenshot_2021-05-25_at_11.25.23_AM.png) <!-- Summarize the bug encountered concisely. --> ZD: https://gitlab.zendesk.com/agent/tickets/214243 (internal) ## Possible workarounds 1. Rename group path
issue