Select to view content in your preferred language

Configure OAuth for HTTP Poller in ArcGIS Velocity

2546
11
01-31-2023 05:58 AM
by Anonymous User
Not applicable

Hello, 

I wonder if anyone has experience with OAuth authentication in ArcGIS Velocity. Or if there are any examples available. 

I am trying to connect to API secured with OAuth 2.0. I choose "configure OAuth" inside HTTP Poller and define token endpoint. I provide all authentication details under POST body, but I constantly get the response that "test request failed". 

AZietara_0-1675173429412.png

 

I test the same connection inside Postman and there, I can get an access_token in response. Request body parameters and token URL are exactly the same. 

That's why I wonder if there are any exceptions inside ArcGIS Velocity or some additional configuration one should be aware of. I would appreciate any tips.

Thank you

0 Kudos
11 Replies
Nicole_Phaneuf
Esri Contributor

Hey @AndresCastillo - I sent you a direct message. Please send me an email and we can look into this further.

0 Kudos
JeffEismanGIS
Esri Contributor

@RyanChase_EsriUK Let's take a look at your API to see if it is same issue. I will message you my contact info and lets set up a time to go over it. 

0 Kudos