OAuthEmailEmail + Password
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:
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_REQUESTLink Token is Invalid400 MISSING_LINK_TOKENMissing link token400 INVALID_PROVIDERProvider is not supported400 INVALID_USER_IDUser id is incorrect400 INVALID_CREDENTIALSCredentials for provider are incorrect
Email + Password
Current email and password providers are:
To connect an email and password provider: