diff --git a/apps/console/src/routes/[x+2e]well-known/webauthn/+server.ts b/apps/console/src/routes/[x+2e]well-known/webauthn/+server.ts index 4c1cc1680..7a8aa9f45 100644 --- a/apps/console/src/routes/[x+2e]well-known/webauthn/+server.ts +++ b/apps/console/src/routes/[x+2e]well-known/webauthn/+server.ts @@ -28,7 +28,6 @@ export async function GET({ setHeaders }) { 'https://console.traefik.me:5173', 'https://console.traefik.me:3000', 'https://console.traefik.me:4173', - 'https://console.traefik.me', 'https://spectacular-console.vercel.app', 'https://spectacular-console-git-main-spectacular.vercel.app', ], diff --git a/nhost/nhost.toml b/nhost/nhost.toml index 84eaf4ad1..4525a6ac4 100644 --- a/nhost/nhost.toml +++ b/nhost/nhost.toml @@ -56,7 +56,7 @@ mode = 'recommended' [auth.redirections] clientUrl = 'https://console.traefik.me:5173' -allowedUrls = ['https://console.traefik.me:5173', 'https://console.traefik.me:5173/profile', 'https://console.traefik.me:4173', 'https://console.traefik.me:4173/profile', 'https://console.traefik.me:3000', 'https://console.traefik.me:3000/profile', 'https://console.traefik.me', 'https://console.traefik.me/profile', 'https://*.vercel.app'] +allowedUrls = ['https://console.traefik.me:5173', 'https://console.traefik.me:5173/user/profile', 'https://console.traefik.me:4173', 'https://console.traefik.me:4173/user/profile', 'https://console.traefik.me:3000', 'https://console.traefik.me:3000/user/profile', 'https://*.vercel.app'] [auth.signUp] enabled = true @@ -183,7 +183,7 @@ enabled = true [auth.method.webauthn.relyingParty] name = 'Spectacular Console App' -origins = ['https://console.traefik.me:5173'] +origins = [] [auth.method.webauthn.attestation] timeout = 60000 diff --git a/nhost/overlays/local.json b/nhost/overlays/local.json index f02ba418c..9af539d35 100644 --- a/nhost/overlays/local.json +++ b/nhost/overlays/local.json @@ -9,17 +9,11 @@ "path": "/auth/redirections/allowedUrls", "value": [ "https://console.traefik.me:5173", - "https://console.traefik.me:5173/profile", - "https://console.traefik.me:5173/dashboard/profile", + "https://console.traefik.me:5173/user/profile", "https://console.traefik.me:3000", - "https://console.traefik.me:3000/profile", - "https://console.traefik.me:3000/dashboard/profile", + "https://console.traefik.me:3000/user/profile", "https://console.traefik.me:4173", - "https://console.traefik.me:4173/profile", - "https://console.traefik.me:4173/dashboard/profile", - "https://console.traefik.me", - "https://console.traefik.me/profile", - "https://console.traefik.me/dashboard/profile" + "https://console.traefik.me:4173/user/profile" ] }, { @@ -29,18 +23,18 @@ }, { "op": "add", - "path": "/auth/method/webauthn/relyingParty/origins/1", - "value": "https://console.traefik.me:3000" + "path": "/auth/method/webauthn/relyingParty/origins/-", + "value": "https://console.traefik.me:5173" }, { "op": "add", - "path": "/auth/method/webauthn/relyingParty/origins/2", - "value": "https://console.traefik.me:4173" + "path": "/auth/method/webauthn/relyingParty/origins/-", + "value": "https://console.traefik.me:3000" }, { "op": "add", - "path": "/auth/method/webauthn/relyingParty/origins/3", - "value": "https://console.traefik.me" + "path": "/auth/method/webauthn/relyingParty/origins/-", + "value": "https://console.traefik.me:4173" }, { "op": "replace", diff --git a/nhost/overlays/swzucovdccjouwebopwb.json b/nhost/overlays/swzucovdccjouwebopwb.json index b18fc10e0..8a3139637 100644 --- a/nhost/overlays/swzucovdccjouwebopwb.json +++ b/nhost/overlays/swzucovdccjouwebopwb.json @@ -24,14 +24,15 @@ "path": "/auth/redirections/allowedUrls", "value": [ "https://console.traefik.me:5173", - "https://console.traefik.me:5173/profile", - "https://console.traefik.me:5173/dashboard/profile", - "https://console.traefik.me", - "https://console.traefik.me/profile", - "https://console.traefik.me/dashboard/profile", + "https://console.traefik.me:5173/user/profile", + "https://console.traefik.me:3000", + "https://console.traefik.me:3000/user/profile", + "https://console.traefik.me:4173", + "https://console.traefik.me:4173/user/profile", "https://spectacular-console.vercel.app", - "https://spectacular-console.vercel.app/profile", - "https://spectacular-console.vercel.app/dashboard/profile", + "https://spectacular-console.vercel.app/user/profile", + "https://spectacular-console-git-main-spectacular.vercel.app", + "https://spectacular-console-git-main-spectacular.vercel.app/user/profile", "https://*.vercel.app" ] },