Skip to content

Commit 47e10ce

Browse files
fix: lowercase slug to find auth0 connection (#1469)
1 parent 8c9280d commit 47e10ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/settings/SettingsSSOTab/steps/NewSSOConfigAuthorizeStep.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const SSOConfigAuthorizeStep = () => {
6565
* Built using enterprise slug and uuid
6666
*/
6767
const linkToDownloadMetadataXML = formFields?.spMetadataUrl
68-
|| `${configuration.EDX_ACCESS_URL}/samlp/metadata?connection=${enterpriseSlug}-${formFields?.uuid}`;
68+
|| `${configuration.EDX_ACCESS_URL}/samlp/metadata?connection=${enterpriseSlug?.toLowerCase()}-${formFields?.uuid}`;
6969

7070
return (
7171
<>

0 commit comments

Comments
 (0)