misc: moved oidc endpoints to /sso

This commit is contained in:
Sheen Capadngan
2024-06-18 01:21:42 +08:00
parent d79ffbe37e
commit 4f2f7b2f70
3 changed files with 10 additions and 5 deletions
@@ -28,7 +28,7 @@ export const useUpdateOIDCConfig = () => {
isActive?: boolean;
orgSlug: string;
}) => {
const { data } = await apiRequest.patch("/api/v1/oidc/config", {
const { data } = await apiRequest.patch("/api/v1/sso/oidc/config", {
issuer,
authorizationEndpoint,
jwksUri,
@@ -72,7 +72,7 @@ export const useCreateOIDCConfig = () => {
isActive: boolean;
orgSlug: string;
}) => {
const { data } = await apiRequest.post("/api/v1/oidc/config", {
const { data } = await apiRequest.post("/api/v1/sso/oidc/config", {
issuer,
authorizationEndpoint,
jwksUri,