
CecilieL.80314 (Customer) asked a question.
When trying to set up a saml integration with rstudio, we can see that the IdPMetaData we get in the response from the api dosen't match the one we can find in How to Configure SAML 2.0 for RStudio Workbench guide. It seems like it is only working with the one from the guide, but since we are trying to automate as much as possible we want to use the one from the api found under: _links-metadata-href.
Can you explain how to find the correct IdpmetaData url using the api only?

Hi, @CecilieL.80314 (Customer)
Thank you for posting on our Community page!
I saw that you already have an open case with support on this issue.
When you get a solution from our Engineers, please also post it here to assist our Community if they find themselves in the same situation.
Thank you for reaching out to our Community and have a great day!
_____________________________________________________________________________
Community members help others by clicking Like or Select as Best on responses. Try it today.
_____________________________________________________________________________
Now available: Product release highlights, your top questions, and other things you may have missed in this month's newsletter
_____________________________________________________________________________
This is the reply that I got:
IdP metadata URL cannot be pulled using API calls.
The best that can be done is to run a GET call to Preview SAML Metadata. There is a field for SingleSignOnService that value for location is similar to the IdP Metadata but not exact. You would have to remove the app name (rstudiserverpro in this case) and append metadata to the end.