Skip to content

Commit

Permalink
feat(cli): update CLI config to allow embedding in iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
odinr committed Mar 13, 2024
1 parent 1df2e44 commit 54fd842
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-countries-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@equinor/fusion-framework-cli": patch
---

Updated CLI config to allow embedding in iframe
3 changes: 3 additions & 0 deletions packages/cli/src/bin/dev-portal/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const configure = async (config: FrameworkConfigurator) => {
tenantId: '3aa4a235-b6e2-48d5-9195-7fcf05b459b0',
clientId: '9b707e3a-3e90-41ed-a47e-652a1e3b53d0',
redirectUri: '/authentication/login-callback',
config: {
behavior: window.parent === window ? 'redirect' : 'popup',
},
},
{ requiresAuth: true },
);
Expand Down

0 comments on commit 54fd842

Please sign in to comment.