Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oauth: Notion connector dual-flow + front gating #6372

Merged
merged 3 commits into from
Jul 22, 2024
Merged

Conversation

spolu
Copy link
Contributor

@spolu spolu commented Jul 21, 2024

Description

  • Implenents dual support for Nango and oauth for Notion
  • Change validation token code to call me vs search (faster?)
  • Gate notion for oauth setup in front.

Risk

Low

Full sync + update tested locally

Deploy Plan

  • deploy connectors
  • deploy front

@spolu spolu requested a review from fontanierh July 21, 2024 20:04
@spolu
Copy link
Contributor Author

spolu commented Jul 22, 2024

PMRR (since well tested)

@spolu spolu merged commit 0a5782f into main Jul 22, 2024
4 checks passed
@spolu spolu deleted the spolu-notion_dual_flow branch July 22, 2024 07:25
Copy link
Contributor

@fontanierh fontanierh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

useCache: false,
});
if (isDualUseOAuthConnectionId(connectionId)) {
const tokRes = await getOAuthConnectionAccessToken({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't this use getNotionAccessToken ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One throws the other return a Result :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yeah could be shared more for sure

albandum pushed a commit that referenced this pull request Aug 28, 2024
* Notion connectors dual-flow oauth/nango

* oauth: gate notion

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants