ServiceNow to RE NXT API - OAuth token - unable to get a token

We are creating an API between ServiceNow and RE NXT. We are having trouble with getting an OAuth Token.

Within SN, we can manually trigger the request to get an OAuth token. While it works, it prompts for Blackbaud authentication on each token request. Has anyone successfully configured the api where this does not occur?

Our attempt to script the token request has been unsuccessful so far. If anyone has accomplished this and is willing to share steps or better yet, a javascript snipit, that would be most helpful. TIA

Comments

  • @Alexis Osborne Confidential applications can use a refresh token to refresh an access token that is granted when the user authorizes the connection. Access tokens expire after 60 minutes. The refresh token is valid for 1 year and can be used one time. A new refresh token, good for 1 year, is provided with each new access token.

    We also have a tutorial and some code examples you may find helpful.