Not receiving refresh token calling token endpoint

in Development
Hi Team,
When executing a POST request using the link below, I am not receiving any refresh token in the response
https://api.lsk.lightspeed.app/oauth/token?code=6kNbgg&grant_type=authorization_code&client_id={{client_id}}&redirect_uri=https://localhost
My Response:
{
"access_token": "REDACTED",
"token_type": "bearer",
"expires_in": 315399999,
"scope": "orders-api"
}
According to the documentation, the response should also include the refresh token. Any idea what is going on here?
Thanks in advance
1 comment
Hi @darioongsono,
Thank you for contacting us.
This is because we've implemented the refresh_token module later than you've received your client_id and secret. Can you share your client_id so I can update it for you?