More in this section

Forums / General Discussions / Authentication service 401 error

Authentication service 401 error

2 posts, 0 answered
  1. Chaitanya
    Chaitanya avatar
    22 posts
    14 Oct 2013
    14 Jan 2015
    Link to this post


    I am trying to authenticate user through the service /Sitefinity/Services/Security/Users.svc/Authenticate. I am passing the data as told in the help section of service as {"MembershipProvider":"Default","Password":"password","Persistent":true,"UserName":"name"}.

    Request Headers are User-Agent: Fiddler
    Host: hostname
    Content-Length: length
    Content-Type : application/json

     What i wanted to do is, authenticate user using services and then create/update the site content like news, but i get unauthorized result in the authentication step, is there anything I am missing?
    Please provide your input on this.



  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    06 Sep 2017
    19 Jan 2015
    Link to this post
    Hi Chaitanya,

    I would recommend you to check this blog post.

    Along with the detail explanation, you could find a code sample.

    I hope the information helps.

    Svetoslav Manchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered