We have created extranet user in Sitecore CMS to authenticate user in CD website for POST method.
Below is the code written for same.
AuthenticationManager.Login(domain + @"\" + username, password, true, false);
Even we tried to use below:
System.Web.Security.Membership.ValidateUser(domain + "\" + username, , password)
User is getting Authenticated in Standalone environment (DEV and Local) but on scaled environment with 2 CD servers this method is always returning false even after passing admin user.
What i am missing here?