Invoke the OAuth Login Form

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

Endpoint

Method:GET
URI:https://oauth.launchkey.com/authorize

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

state:

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.

Note

Using a state token is highly recommended

response_type:

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

Note

When specifying token, you must supply a scope parameter.

scope:

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.

Example

GET https://oauth.launchkey.com/authorize?client_id=1234567890&redirect_uri=REDIRECT_PAGE_URL HTTP/1.1
host: oauth.launchkey.com

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 https://launchkey.com./support. ×