OAuth2 Tokens Scripting

I have a web API we are interfacing with that uses oauth2. We are using the API to pull data into Perspective to merge the cloud app data with some of our on-prem data.

Its fairly simple to get the tokens, but I was wondering if anyone has any experience or best practices with either functions they build to manage the creation of an access token (and refresh) or use a library to do this auth and management of the tokens.


Any luck running the httpGet function to get the info you need? I am trying the method that was used on this post: OAuth2 connections - #4 by d3h637
but it isn’t working…

Sorry I didn't reply earlier. I honestly can't remember what the resolution is, or which project. I think we found another way to connect to the system.