In order to access user data, third-party apps authenticate with Socialtables through explicit OAuth authorization code grants in order to receive access tokens. The basic process is outlined below.
Before the process can begin, apps must be configured with their authorization code redirect URI so that Socialtables can direct the user back to them after the user authorizes access.
Once an app is fully configured, the following exchange is used to obtain an access token.
client_id
: the app's client ID, assigned when an app is createdredirect_uri
: the app's authorization code redirect URIresponse_type
: set to code
code
query parameter.code
: the authorization code received in the previous stepclient_id
: the app's client IDclient_secret
: the app's client secretgrant_type
: set to authorization_code
response_type
: set to token
You can observe this flow in action using our API console, or in our example app.