How to do client-side authentication for REST calls?
I want to do some REST calls on the frontend for client-side scripting. How do I authenticate via Javascript / jQuery since the end user will never be logged in?
Hello Basem,
You can use Sys.Net.WebRequest(); to make a POST request to /Sitefinity/Services/Security/Users.svc/. The parameter for authenticate method that you should use is Authenticate
Best wishes,
Ivan Dimitrov
the Telerik team
Could you please give us working example so that it will be helpful us to implement in our projects
Hi ,
It would not be possible to authenticate a user through the service using client side api. You need to make HttpWebRequest. You can take a look at this post
www.sitefinity.com/.../windows-authentication.aspx
Greetings,
Ivan Dimitrov
the Telerik team