We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB.
We process webhooks that we receive from ringcentral in background tasks.
Each time a background task is run, we have to initialise the SDK with authentication data. Since expire_time and refresh_token_expire_time are calculated whenever auth data is being set, this will not work for us.
Is there a way we can use the sdk for this use case?
We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB.
We process webhooks that we receive from ringcentral in background tasks.
Each time a background task is run, we have to initialise the SDK with authentication data. Since
expire_time
andrefresh_token_expire_time
are calculated whenever auth data is being set, this will not work for us.Is there a way we can use the sdk for this use case?