Skip to content

Commit 7ee21b7

Browse files
authored
chore(clerk-js): Add v0 preview domain to popup preferred list (#5502)
1 parent 7d5e361 commit 7ee21b7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/old-roses-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
5+
add v0 preview domain to opt-in to pop-up auth flow

packages/clerk-js/src/ui/utils/originPrefersPopup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const POPUP_PREFERRED_ORIGINS = ['.lovable.app', '.lovableproject.com', '.webcontainer-api.io'];
1+
const POPUP_PREFERRED_ORIGINS = ['.lovable.app', '.lovableproject.com', '.webcontainer-api.io', '.vusercontent.net'];
22

33
/**
44
* Returns `true` if the current origin is one that is typically embedded via an iframe, which would benefit from the

0 commit comments

Comments
 (0)