By: Anthony Critelli user 13 Jul 2018 at 11:34 a.m. CDT

4 Responses
Anthony Critelli gravatar
Hi, Just testing out Gluu a bit for some personal projects, and I'm wondering if it's possible to add a new SAML SP trust relationship in a scripted/automated manner. Is there an API that I can POST to with the necessary attributes (name, metadata, attributes to share, etc.), or a different way to accomplish this? I've been digging around the docs and can't seem to find anything, but maybe I'm looking in the wrong place. Thanks for any help!

By Sahil Arora user 13 Jul 2018 at 5:48 p.m. CDT

Sahil Arora gravatar
Hi Anthony, There is no automated way to create SAML SP trust relationship, But you can use tools such as Selenium to automate the object creation through UI.

By Michael Schwartz Account Admin 19 Jul 2018 at 1:25 p.m. CDT

Michael Schwartz gravatar
We are currently working on API's for oxTrust. With this feature, you could do it. It's a big effort. You can see status on [Github](https://github.com/GluuFederation/oxTrust/issues/785)

By Anthony Critelli user 19 Jul 2018 at 2:23 p.m. CDT

Anthony Critelli gravatar
Thanks for the info! I ended up just writing a quick selenium script to handle this for now. I'll post it once I get it polished up a bit.

By William Lowe user 24 Jul 2018 at 6:57 p.m. CDT

William Lowe gravatar
> I'll post it once I get it polished up a bit. Great! If you share some details we can add some instructions to our FAQs as well.