Invoke the OAuth Login Form

Initiate a browser redirect to an endpoint which will display LaunchKey's login form using the following:



Required Parameters

client_id:Service Key of your Service. This is found on the Keys tab of your Service details in the LaunchKey Dashboard.
redirect_uri:The URI the user will be forwarded to after a successful authorization. This URL will capture the response from the LaunchKey OAuth login page and should be located in the specific domain you specified on your Service settings page.

Optional Parameters


Arbitrary unique string created by your service to help protect against Cross Site Request Forgery (CSRF). The state parameter and it's value will be added to the query parameters of the Redirect URI so that your service may validate the request.


Using a state token is highly recommended


Defines the type of response return. Use code to return data in URL parameters or token for path fragments. code is the default value.


When specifying token, you must supply a scope parameter.


Arbitrary value passed when a token response_type is specified. This will be removed in a future release as it has no bearing on the existing authorization process.



User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at ×