
VNMan01 asked a question.
Has anyone got SAML Authentication and SLM Web API work?
We have SAML up and running a while back and it working great. Now we need to use SLM web API, when we go to https://MySLMSite/API all I got was Error 401.
SLM Web API worked before we change to SAML, nothing changes in the web.config except to activate SAML.
How to fix this, any suggesstion is appreciated.
Do you have Basic Authentication enabled in IIS as well? You need that for the API to work
Yes. I tried all combinations of Basic Authentication, enabled/disabled on both IIS and web.config. No dice, still same 401 error.
SLM user need to be assigned to API Users role.
I know that, assigned myself as "Administrators" and "API Users". Even tried as only "API Users" role.
Unfortunately, does not support SSO.
goto SMaCC give the user a password - and use that password for https://myslmsite/API
Your SSO still work for https://myslmsite
Unfortunately, there is no login for API Users for https://myslmsite/API. It just after a while (approx 10 secs) gave error 401.
I have password setup for myself and other users.
Have you try different browsers?
have you try the browser on slm server?
https://myslmsite/API or http://myslmsite/API
https://localhost/API or http://localhost/API
Which Authentication is enable within IIS?
OK. Thanks for the help.
http://localhost/API works on SLM server.
At the moment, as suggested on Snow Docs -
Basic Authentication - Disabled
Anonymous Authentication - Enabled
Windows Authentication - Disabled
Nice, seem like no issue with SLM setup.
Did you get the authentication popup? sound like DNS / Firewall issue - goodluck.
Anonymous Authentication - Enabled (correct)
authentication popup with localhost on local server but not on the client.
We have tried both Power BI and powershell and seem that the authentication is trying with Azure and not Snow's basic authentication as expected. This would ofcourse failed.