Auto generate new oauth tokens

The service I am making an OAuth integration with isn't allowing me to refresh my token and throws an error every time. I know I have everything for the integration set up correctly because I am able to get a token that works and use it while it is valid. How can I automate making a new token every time the current one expires?

Comments

  • We have a step that can automatically request a new token from them instead of refreshing the token and you have a couple ways to set it up.  

    The Resetting Client Credentials Token via Flow section of our Creating OAuth tokens documentation shows you how you can get this step set up to request a new token for you:  Link

    Then you have the option of whether you would like this to be set up as a scheduled job that gets a new token every hour or you could set it up so that when the API call fails because the token is expired, it grabs a new one and tries the call again.

Sign In or Register to comment.