+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / 401 Unauthorized error on Users web service

401 Unauthorized error on Users web service

1 posts, 0 answered
  1. Jacob
    Jacob avatar
    0 posts
    Registered:
    02 Dec 2016
    02 Dec 2016
    Link to this post

    I'm trying to POST a login request via Postman like this:

    POST http://www.myurl.com/Sitefinity/Services/Security/Users.svc/Authenticate/

    with a body of JSON:

    {

        "MembershipProvider": "OpenAccessProvider",
        "Password": "my-password",
        "Persistent": true,
        "UserName": "my-username"

    }

    But that gives me a 401 unauthorized error with a message of "You do not have permission to view this directory or page."

    The route and parameters appear to be right based on what I'm seeing in the documentation at /Sitefinity/Services/Security/Users.svc/help. Any idea why I can't POST to that method?

1 posts, 0 answered