1. Home
  2. Docs
  3. API Connection Guidelines
  4. Authentication
  5. Sign In

Sign In

To sign a user in, Scriptation will load the following URL request:
GET https://yoursite.com/your_api_path/login?client_id={client_id}&redirect_uri={redirect_uri}

Parameters
client_id (string) The client id value assigned to Scriptation by your application.
redirect_uri (string) The redirect URL that you should use when authentication is complete.

Response
Upon successful authentication, your application should redirect to the redirect URL provided with the following additional parameters added to the URL.
scriptation://auth_redirect?access_token=12345&refresh_token=54321&user_id=12346
Scriptation will use the value of access_token to make requests and refresh_token to request newer access tokens when it expires.