-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(connect-ui): handle generic auth method (#2754)
## Describe your changes Contributes to https://linear.app/nango/issue/NAN-1703/create-ui - Handle generic auth method API Key, Basic auth, unauth, and all auth that do not take a connection config (e.g: google drive). If your integration is requiring a connectionConfig it's not yet supported - Frontend: type errors + fix a typo - Frontend: add a way to clear SDK's state, it was annoying to do that manually when debugging - Frontend: slightly change the way the modal is being created We were creating an empty popup and then changing the URL which made the catching of popup blocker more random ## 🧪 Tests ```ts npm i npm run dw npm run dwa cd packages/connect-ui touch .env > VITE_LOCAL_SECRET_KEY=FILL > VITE_LOCAL_PUBLIC_KEY=FILL > VITE_LOCAL_HOSTNAME=http://localhost:3003 npm run connect-ui:dev:watch ``` https://github.com/user-attachments/assets/080d3746-bc1e-457e-a80b-175646fc63a4
- Loading branch information
1 parent
73f1d3c
commit 3920a17
Showing
20 changed files
with
910 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.