mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 05:33:31 +00:00
host
This commit is contained in:
@@ -33,7 +33,9 @@ export function SignInWithIDP({
|
||||
const router = useRouter();
|
||||
|
||||
async function startFlow(idpId: string, provider: ProviderSlug) {
|
||||
const host = process.env.VERCEL_URL ?? "http://localhost:3000";
|
||||
const host = process.env.VERCEL_URL
|
||||
? `https://${process.env.VERCEL_URL}`
|
||||
: "http://localhost:3000";
|
||||
setLoading(true);
|
||||
|
||||
// const path = startIDPFlowPath(idpId);
|
||||
|
||||
Reference in New Issue
Block a user