Skip to content

Commit

Permalink
feat: Add OAuth authorize URL to allowed redirect origins
Browse files Browse the repository at this point in the history
  • Loading branch information
kostaspt committed Dec 12, 2024
1 parent 85a36a8 commit 51eaec6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changeset/modern-peaches-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
1 change: 1 addition & 0 deletions packages/clerk-js/src/utils/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 51eaec6

Please sign in to comment.