I am using the password
grant type. By nature of this grant type, the Client's are fully trusted by the API, and in my case, they share the same owner.
Each Client will be added to the API by the API owner, by manually posting to the oauth/v2/token
endpoint, retrieving an Access Token, and manually dropping it into the database of the Client.
The Client's using the API service will need full availability of the API at all times. If their Access Token were to expire, their API call will return a 401 Unauthorized
response. The API would therefore not be available until the API owner has manually posted back to the oauth/v2/token
endpoint using the refresh token, received a new Access Token, and updated the new Client's Access Token in the Client's external database, for them to use.
My Questions: Ideally, I would like the Access Token to never expire. Is this at all possible? I have looked at the code in the bundle, and it seems not. If not, how have other people got around this issue, to make Token refreshing seamless for the Client?