diff --git a/.changeset/modern-peaches-learn.md b/.changeset/modern-peaches-learn.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/modern-peaches-learn.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/src/utils/url.ts b/packages/clerk-js/src/utils/url.ts index e888047dff..84ab195771 100644 --- a/packages/clerk-js/src/utils/url.ts +++ b/packages/clerk-js/src/utils/url.ts @@ -396,6 +396,7 @@ export function createAllowedRedirectOrigins( origins.push(`https://${getETLDPlusOneFromFrontendApi(frontendApi)}`); origins.push(`https://*.${getETLDPlusOneFromFrontendApi(frontendApi)}`); + origins.push(`https://${frontendApi}/oauth/authorize*`); return origins; }