Authentication with OAuth 2.0 - Generate Refresh token from Access token
Summary:
We are trying to implement OAuth2.0 authentication in EPMAutomate utility for Automations of data loads and other application tasks.
Content (please ensure you mask any confidential information):
Steps that we followed to generate refresh_token:
- We have Client_Id and IDCS url
- we have generated verification_uri ,user code and device code
- Manually verified the verification uri
- generated the access_token and refresh_token
- Encrypted the refresh_token using EPMAutomate Encrypt command.
Now, as the refresh_token will expire in 7 days, we want to regenerate/rotate refresh_token so we do not have to manually verify the verification_uri every week. Can you share any solution? Can we generate refresh token from Access token? if there is any command which we can automate to run every hour to get 'forever living' refresh_token.
0