Skip to content

Connector oauth workflow

Connector OAuth Workflow

The HTTP API connector has an optional oauth2 authentication system.

It allows a user to connect data that must be fetched from an HTTP API authenticated via OAuth2 (GitHub, Google APIs...).

Oauth2 Laputa Routes

Laputa has 3 specific API routes to deal with oauth2 dance: - /connectors/http/authentication/authorize : to build the authentication url that's redirect the user to the external login portal. - /connectors/http/authentication/redirect : to validate the oauth2 workflow and save the oauth token that will be used to fetch user's data - /connectors/http/authentication/info : to compute additional information to help the user to configure its oauth2 application

Oauth2 Workflow Schema

image