Hi, I've been working on my app today with many successful request to the Geni API - using the Javascript SDK. However, this afternoon I have been receiving an "Invalid access token" response when trying to invoke the Geni.api('/profile', function(response) { ... method.
Here's a copy of the JSON response I get containing the access_token, when invoking the Geni.getStatus(function(response) { .... method. The API just doesn't seem to consider it valid.
{"access_token":"Q92CwUDzVx8bOflFjoT5t3GQnIwfxeWNvdXttdSN","action":"status","callback":"g60ff","client_id":"dxtDbUoXZlNPubcIyxLEinATnMY28OZOZ4MXdOpZ","controller":"/oauth","display":"hidden","expires_in":"-4547","origin":"http://localhost:3000","refresh_token":"MLZCbMGCwXizPQnWJmHplO8lfB6miWeNoWM5h7ay","status":"authorized"}
Please advise.
Thanks,
Dywayne
djohnsonkc@gmail.com