I was thinking that it might be because of some webpack misconfiguration?
This is the request
POST http://localhost/my.api/json/reply/Authenticate HTTP/1.1
Host: localhost
Connection: keep-alive
Content-Length: 76
Origin: http://localhost:8080
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.54 Safari/537.36
content-type: text/plain;charset=UTF-8
Accept: */*
Referer: http://localhost:8080/weded
Accept-Encoding: gzip, deflate, br
Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Cookie: _ga=GA1.1.2079302235.1473015720; X-UAId=3; ss-id=Xbp1r1sesXKiTOOR9Q0X; ss-pid=OJ9TThJ7WbppwBAQifVh; ss-opt=temp
{"password":"Password","userName":"ewrverv@com.pl","provider":"credentials"}
This is the response
HTTP/1.1 401 Unauthorized
Cache-Control: private
Content-Type: application/json; charset=utf-8
Vary: Accept
Server: Microsoft-IIS/8.5
X-Powered-By: ServiceStack/4.56 Win32NT/.NET
Access-Control-Allow-Origin: http://localhost:8080
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Credentials: true
Access-Control-Max-Age: 3600
X-AspNet-Version: 4.0.30319
Set-Cookie: ss-id=ZAgXfkCGlUDjG0p1XGkw; path=/; HttpOnly
Set-Cookie: ss-pid=AHSNEoOuMgdvMy2MvGjp; expires=Thu, 19-Feb-2037 07:20:07 GMT; path=/; HttpOnly
Set-Cookie: ss-opt=temp; expires=Thu, 19-Feb-2037 07:20:07 GMT; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Sun, 19 Feb 2017 07:20:07 GMT
Content-Length: 913
{"responseStatus":{"errorCode":"Unauthorized","message":"Invalid UserName or Password","stackTrace":"[Authenticate: 2/19/2017 7:20:07 AM]:\n[REQUEST: {provider:credentials,userName:ewrverv@com.pl,password:Password}]\nServiceStack.HttpError: Invalid UserName or Password\r\n at ServiceStack.Auth.CredentialsAuthProvider.Authenticate(IServiceBase authService, IAuthSession session, String userName, String password, String referrerUrl)\r\n at ServiceStack.Auth.CredentialsAuthProvider.Authenticate(IServiceBase authService, IAuthSession session, Authenticate request)\r\n at ServiceStack.Auth.AuthenticateService.Authenticate(Authenticate request, String provider, IAuthSession session, IAuthProvider oAuthConfig)\r\n at ServiceStack.Auth.AuthenticateService.Post(Authenticate request)\r\n at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)","errors":[]}}
From some reason I am unable to get response data also for 200 response