I use the Xero connector to extract data from xero API in Azure data factory. I use OAuth 2.0 config. The connection is successful but my refresh token expires every 30 minutes. Is there a way to automate the refresh token update?
I realized that the below mentioned link was useful. But can someone elaborate on how to setup the access tokens? [https://learn.microsoft.com/en-us/answers/questions/112731/xero-azure-data-factory-connector-operates-success]
As we know we need to generate refresh token after every 30 min s as earlier got expired to generate it and store it you need to follow steps like below:
POST
https://identity.xero.com/connect/token
#header
authorization: "Basic " + base64encode(client_id + ":" + client_secret)
Content-Type: application/x-www-form-urlencoded
#body
grant_type=refresh_token
&refresh_token=xxxxxx