Test Data Manager

 View Only

 SSO with only api calls

Vincent Roy's profile image
Vincent Roy posted Apr 12, 2024 02:37 PM

Hi,

I am trying to automate authentication with tdm through api calls only. I've managed to do the whole thing up to the point where the identity provider gives a SAMLResponse. Usually, the tdm web page will then execute de code at #/generateJWT but it cannot run outside of a browser. Is there some way to processe the SAMLResponse into the correct jwt on the server side or with a manual method and is there more documentation relating to the rest api saml endpoints other than this TestDataManager which does not present information regarding sso?

the flow of calls I make is as follows:

POST /TestDataManager/user/login $data

POST identity provider $credentials

POST /TestDataManager/saml2/sso $SAMLResponse

...

Here I get the redirect to /TestDataManager/index.html#/generateJWT but am unable to get anything out of it since it is supposed to execute code on the client web browser. 

The tdm version is 4.10.239.0

Bradley Gray's profile image
Broadcom Employee Bradley Gray

Hi Vincent,

SSO/SAML authentication is not supported via the APIs at this time. There has been an enhancement submitted to add this support for the APIs.

Regards,
Brad