Skip to content

Commit

Permalink
oauth: gate notion
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu committed Jul 21, 2024
1 parent e9a1db9 commit 31468bd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions front/pages/w/[wId]/builder/data-sources/managed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,9 @@ export async function setupConnection({
isOAuthProvider(provider) &&
// `oauth`-ready providers
(["github", "slack"].includes(provider) ||
(["intercom"].includes(provider) &&
// Behind flag oauth-ready providers
(["intercom", "notion"].includes(provider) &&
owner.flags.includes("test_oauth_setup")))
// Behind flag oauth-ready providers
// ([""].includes(provider) &&
// owner.flags.includes("test_oauth_setup"))
) {
// OAuth flow
const cRes = await setupOAuthConnection({
Expand Down

0 comments on commit 31468bd

Please sign in to comment.