Cannot retrieve valid token
Today I returned to a project that was being actively developed for approximately 4 months up until January. On returning to the project today I'm unable to retrieve a valid access token. Any attempt to authorise results in an invalid token.
In the following example I was using Postman to authorise and then call an API endpoint.
At the start of the process two URLs are logged:
This results in the Lightspeed sign-in screen being showed. On clicking "Sign in" the following two calls are logged:
Resulting in the screen being shown to allow or deny access. Allowing access results in two calls being logged:
The response body of this final call includes an access token that I then immediately use as a Bearer token in the Authorization header to make a further call to the Lightspeed API. This results in a 401 response with a description of "Invalid token".
I have full logs available but this forum is not the place to share them.
I believe this to be the correct process, since exactly this process worked a month ago. Has our API access expired or become dormant? Have some other credentials changed?