Use Integrations
Frontend SDK
Trigger authorization flows in your frontend with this SDK. It is available on NPM as @nangohq/frontend
.
Instantiate the frontend SDK
Parameters
Collect & store end-user credentials
You store end-user credentials with the nango.auth
method. It creates a connection in Nango.
For OAuth, this will open a modal to let the user log in to their external account.
For OAuth, this will open a modal to let the user log in to their external account.
For API key authorization, pass the end-user’s previously-collected API key directly in the parameters.
For Basic Auth, pass the end-user’s previously-collected username & password in the parameters.
Parameters
Success response
Error response
Questions, problems, feedback? Please reach out in the Slack community.
Was this page helpful?