Storing refesh token with access token

Options
Ops
Ops Member

I'm woking with an API that uses OAuth 2 and a rediculously short token expiry period. Part way through getting the data the access token expires and I need to refresh it.

A refresh token is provided at the same time as the access token. It's important this is used as without it a new token has to be issued that would require a user to login which doesn't work mid data processing. Is there anyway to store this refresh token in metadata.account so it can be used in the middle of getting data?

Comments

  • laura_igl
    Options

    Hi,

    Is anyone able to help out with this request?


    Thanks,

This discussion has been closed.