Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Authentication with OAuth 2.0 - Generate Refresh token from Access token

edited Jul 18, 2024 8:27PM in OCI - General

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:

  1. We have Client_Id and IDCS url
  2. we have generated verification_uri ,user code and device code
  3. Manually verified the verification uri
  4. generated the access_token and refresh_token
  5. 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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!