Hi Mac, providing that information without authentication would weaken the security. If you don't care about the security implications, or if you have your own security mechanism already in place, you could do a workaround by building your own intermediate web service that would grab the information using the proper credentials.
Jeff, thanks for the response. Sorry if my question was not clear, but I am *not* trying to bypass authentication. That would happen in step 1 (of my original post). The issue is that, according to the API documentation, only admins can get a list of sites that a user has access to, and I would like the user to be able to select one of the sites they have access to. This is information they should in theory be able to get since it is specific to their user and has been available in previous versions of the API.
What API were you using in the previous version?
[Just as a disclaimer, I am picking this up mid-stream, and so I will do my best to be accurate in my response!]
It appears that this was using v0.31 of the API. I believe this is undocumented, but it is essentially just mimicking what the login page is doing. Querying against [server]/auth.xml, the response includes:
Then, when you query against [server]/auth/login.xml using normal user credentials (ie, not admin), if a valid target_site is not included, then the response is a list of sites that the user has access to (so that the user can then select the site they wish to connect to).
Is there another solution to this that also works for Tableau 9.3? The endpoint seems to no longer exist in the current API version.
Johann, read this: XML Endpoints No Longer Available in Tableau Server | Tableau Software
You can get endpoints in 9.3, just gotta do a couple easy tabadmin steps. However, in version 10 they are pretty much gone