7 comments

This is the expected behaviour. Once you (or the customer) log into the retail account you wish to connect to, you will be asked to authorize the client (application). Once this is done, the temporary code will appear in the response URL, and will also be sent to your redirect URI. You can then exchange that code (within 30 seconds) for an access token and refresh token. A detailed explanation can be found here: https://developers.lightspeedhq.com/retail/authentication/authentication-overview/