diff --git a/packages/auth/src/constants.js b/packages/auth/src/constants.js index 54736bed67..0d714a0021 100644 --- a/packages/auth/src/constants.js +++ b/packages/auth/src/constants.js @@ -21,5 +21,5 @@ exports.Configs = { SMTP: "smtp", GOOGLE: "google", OIDC: "oidc", - OIDC_LOGOS: "oidc_logos", + OIDC_LOGOS: "logos_oidc", } diff --git a/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte b/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte index 61d9bc80aa..b220e2478b 100644 --- a/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte +++ b/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte @@ -22,7 +22,7 @@ $: show = $admin.checklist?.oidc $: src = !$oidc.logo ? OidcLogo - : preDefinedIcons[$oidc.logo] || `/global/oidc_logos/${$oidc.logo}` + : preDefinedIcons[$oidc.logo] || `/global/logos_oidc/${$oidc.logo}` {#if show} diff --git a/packages/builder/src/pages/builder/portal/manage/auth/index.svelte b/packages/builder/src/pages/builder/portal/manage/auth/index.svelte index 70c833cd7d..46305924d9 100644 --- a/packages/builder/src/pages/builder/portal/manage/auth/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/auth/index.svelte @@ -83,7 +83,7 @@ let data = new FormData() data.append("file", file) const res = await api.post( - `/api/admin/configs/upload/oidc_logos/${file.name}`, + `/api/admin/configs/upload/logos_oidc/${file.name}`, data, {} ) @@ -153,7 +153,7 @@ //Get the list of user uploaded logos and push it to the dropdown options. //This needs to be done before the config call so they're available when the dropdown renders - const res = await api.get(`/api/admin/configs/oidc_logos`) + const res = await api.get(`/api/admin/configs/logos_oidc`) const configSettings = await res.json() if (configSettings.config) {