-
Notifications
You must be signed in to change notification settings - Fork 601
feat(integrations): add support for crisp plugin install #5083
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
Open
hassan254-prog
wants to merge
5
commits into
master
Choose a base branch
from
wari/support-for-crisp-plugin
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+561
−23
Conversation
This file contains hidden or 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
15d05a4 to
a02314d
Compare
c1ba8cb to
d5b2c64
Compare
1ecda71 to
9f920fd
Compare
docs/api-integrations/crisp-plugin-install/how-to-register-your-own-crisp-plugin.mdx
Show resolved
Hide resolved
TBonnin
reviewed
Dec 8, 2025
Collaborator
TBonnin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a fan or having a new auth_mode (and 500 lines of codes) for a single super niche provider. Is there any way for the end user to retrieve their credentials when installing the plugin and enter them in Nango Connect as basic BASIC creds?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe the problem and your solution
Introduce a new
auth_mode: INSTALL_PLUGIN. Thisauth_modewill be used in conjunction with anauth_typesuch asBASIC,API_KEY,JWT, etc. Currently, it is only configured withBASICto supportCrisp plugin installation.The flow works as follows: the app developer provides the app link along with the API authentication credentials (e.g., username and password, which are the plugin credentials). The end user then installs the plugin in their workspace or org.
Once we receive a successful callback response, webhook can be implemented if need be, Nango copies these credentials to the new connection. The connection is then created and verified as usual in Nango, depending on the
auth_typeof the credentials.Support Crisp plugin installs via new INSTALL_PLUGIN auth mode
Introduces a new
INSTALL_PLUGINauth mode (currently paired with BASIC credentials) to enable Crisp marketplace plugin installs. Server, SDKs, UI, provider metadata, encryption, and documentation have been updated so app developers can supply plugin credentials, route end-users through Crisp’s install URL, and provision verified connections from the callback response.Key Changes
• Added
installPluginRequest/installPluginCallbackhandling inpackages/server/lib/controllers/oauth.controller.ts, including credential testing, connection upsert, validation, and Connect session syncing for plugin installs• Extended shared types/services (
InstallPluginCredentials, provider schema, connection service, hooks, SDKs) so INSTALL_PLUGIN flows are recognized across backend, node client, and runner SDK• Updated web dashboard with
SettingsInstallPluginUI, new auth badge label, and provider schema entry (crisp-plugin-install) containing documentation, tooling snippets, and assets• Adjusted encryption manager to encrypt custom config even when no OAuth client secret is present, ensuring plugin credentials in
config.customare securely stored• Published Crisp plugin install documentation (quickstart, setup guide, pre-built assets) and wiring into docs navigation
Affected Areas
• packages/server/lib/controllers/oauth.controller.ts
• packages/shared/lib/services/connection.service.ts
• packages/shared/lib/utils/encryption.manager.ts
• packages/types/lib/auth/api.ts
• packages/providers/providers.yaml
• packages/webapp/src/pages/Integrations/providerConfigKey/Settings/components/InstallPlugin.tsx
• packages/node-client/lib/index.ts
• packages/runner-sdk/lib/action.ts
• docs/api-integrations/crisp-plugin-install.mdx
This summary was automatically generated by @propel-code-bot