Refresh provider access token using genericOAuth plugin
I am looking for a way to refresh the access token from my custom oauth provider. I can see it and the refresh token along with the expiration stored in the account table in the DB, but I'm not sure how to update them.
Here is my config setup:
I dont see anywhere in the docs about how to go about refreshing the providers access token using the refresh token/endpoint.
When using socialProviders option, there is a
refreshAccessToken
function that you can call, but i'm not sure how to go about this with the genericOAuth plugin.1 Reply
We are working towards it .. currently it just works for social providers. Thanks for the call out.