mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:24:51 +00:00
host
This commit is contained in:
@@ -33,7 +33,9 @@ export function SignInWithIDP({
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
async function startFlow(idpId: string, provider: ProviderSlug) {
|
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);
|
setLoading(true);
|
||||||
|
|
||||||
// const path = startIDPFlowPath(idpId);
|
// const path = startIDPFlowPath(idpId);
|
||||||
|
|||||||
Reference in New Issue
Block a user