Session token on authentication redirect_uri

mootpointmootpoint Member Posts: 5
Hi. Is it possible to pass the redirect_uri to the authentication request https://cloud.lightspeedapp.com/oauth/authorize.php instead of setting it in the API Client Update tool? My web app will reject the authentication response from LightSpeed unless it contains a valid session token, so I need to pass this token in.
Tags:

1 comment

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 625 moderator
    @mootpoint, you'll need to put the redirect URI to tell our servers where to send the data to. You might try putting the session cookie in the state parameter. You'll get it returned with your temporary token once you've granted access. Otherwise you'll have to whitelist this lightspeed endpoint response to validate without a session cookie

    Adrian Samuel

    Integrations & Solutions Developer - Strategic Solutions

    Lightspeed HQ

Sign In or Register to comment.