AppD Archive

REST API - Authentication with 3rd party service

CommunityUser
Splunk Employee
Splunk Employee

Hi community, I'm working in an application which uses rest api to get some metrics from appdynamics. The instance of appdynamics that is queried, uses SAAS controoler and is authenticated through ADFS (Active Directory Federation Service), so what I use to do is to simulate the authentication as if it were a web page, thus getting JSessionId cookie and sending on each rest api request.

Now I wonder if is there a different way to do that since modifying the 3rd party authentication service or it's version usually breaks my code and I must work to make it work again each time.

I tryied by using several account names (custom1, companyName, etc.) as stated in https://docs.appdynamics.com/display/PRO40/Use+the+AppDynamics+REST+API#UsetheAppDynamicsRESTAPI-Aut... for SAAS, but none of them worked.

Thanks,

Mariano

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I have a similar requirement.

I have been able to execute REST API calls when the SaaS controller was configured to use its own authentication. But recently we moved to 3rd party authentication - Shibboleth SSO. Per documentation of RESTToolkit , it perhaps doesn't address this usecase?

0 Karma

Arun_Dasetty
Super Champion

Hi Mariano,

Can you list the saas account name and also create abd provide test user login (read permissions should be enough for test user id) so that we could try from my end, if you are already trying the format stated in docs to use <username>@<accountname> in link:

http://community.appdynamics.com/t5/eXchange-Community-AppDynamics/Java-SDK-for-Controller-REST-API/...

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...