NadavBluebirdGlobalNadavBluebirdGlobal Member Posts: 23


I am trying to obtain an access token via direct a GET call.

There is no 'user', this is a full automated sales pipeline that uses a automated HTTPCLIENT.

I am making a GET call to the URL provided with my client ID - it does not work, I get back an error.

https://cloud.lightspeedapp.com/oauth/authorize.php?responsetype=code&clientid={myidgoeshere }&scope=employee:all

here is the raw HTTP request:

GET https://cloud.lightspeedapp.com/oauth/authorize.php?response_type=code&client_id=cfc947ac13f463d152076d478005a94e6b9b82dbe3a02829a193370990a0d8ec:36969c3b2e063b036b14ff043e51adeb4a1d13e1b3b7c6d6ef8f426ddae7224f&scope=employee:all HTTP/1.1

User-Agent: Fiddler

Host: cloud.lightspeedapp.com

Here is the 502 error response

HTTP/1.1 502 Fiddler - Connection Failed

Date: Tue, 16 Jul 2019 11:08:44 GMT

Content-Type: text/html; charset=UTF-8

Connection: close

Cache-Control: no-cache, must-revalidate

Timestamp: 12:08:44.398

[Fiddler] The connection to 'cloud.lightspeedapp.com' failed. <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to cloud.lightspeedapp.com (for #413) failed. System.Security.Authentication.AuthenticationException A call to SSPI failed, see inner exception. &lt; The function requested is not supported

Please can you tell me how to obtain the temporary token correctly??

What is the format of 'clientId above is it id:secret? or just the id? if it's just the id, where does the secret go?

Thank you


Sign In or Register to comment.