Skip to main content
Providers have different authentication flows. Some require a username and password, others require an email address and password. Junction supports the following provider types:
  • OAuth
  • Email
  • Email + Password
The majority of providers are OAuth providers. These providers require a user to be redirected to a third-party website to authenticate. Once authenticated, the user is redirected back to the link widget. The Email and Email + Password providers require a user to enter their email address and password into the link widget. These are then sent to Junction and used to connect to the provider. The list of providers and their auth types is as follows:

OAuth

Current OAuth providers are: To connect an OAuth provider:
For OAuth Providers we return an oauth_url that can be used to redirect users to. In a web view, on redirection, you should check the user has connected to the provider successfully. In the case of mobile, the user should receive a message to return to the app. The possible error codes that are returned are as follows:
  • 401 INVALID_REQUEST Link Token is Invalid
  • 400 MISSING_LINK_TOKEN Missing link token
  • 400 INVALID_PROVIDER Provider is not supported
  • 400 INVALID_USER_ID User id is incorrect
  • 400 INVALID_CREDENTIALS Credentials for provider are incorrect

Email

Current email providers are:

Email + Password

Current email and password providers are: To connect an email and password provider: