Hi,
I have been testing OAuth connection with Anaplan Connect. And it has been quite a struggle. I started with "Authentication - Generate OAuth Token With Force Register" and it was not really working but giving strange error messages that didn't really help. After trial and error I got the example script to work by changing AuthUrl to "https://us1a.app.anaplan.com" instead of the original "https://auth.anaplan.com". Also I had to add workspace Id information to the command to get it working. Now I was able to register my client ID.
Next I moved to Authentication - Generate OAuth Token. I understood that this one should work when client id has been registered on the device so manual login wouldn't be needed. Howewer with this script I run to error pasted below:
Feign: status 500 reading AnaplanAuthenticationAPIFeign#oauthRefreshToken(String,String,String); content:
{"error":"access_denied","error_description":"Cannot read property 'startsWith' of undefined"}
This really doesn't help on identifying the problem. Any ideas on how to move forward with getting integration workint using OAuth and Anaplan Connect?