Hi,
I have a legacy .net framework app that I am migrating to .net core platform. After upgrading to the version 5.7 of ServiceStack the android client cannot authenticate with facebook.
This is the server response:
{“ResponseStatus”:{“ErrorCode”:“NotEmpty”,“Message”:"‘User Name’ must not be empty.",“Errors”:[{“ErrorCode”:“NotEmpty”,“FieldName”:“UserName”,“Message”:"‘User Name’ must not be empty.",“Meta”:{“PropertyName”:“User Name”}}]}}
The request is a POST to the /auth endpoint with these fields:
dto.Authenticate authenticate = new dto.Authenticate()
.setProvider(Const.AUTH_PROVIDER_FACEBOOK)
.setAccessToken(facebookAccessToken)
.setRememberMe(true);
Is it now mandatory to add the username in the authentication request?
I have not found any references to this breaking change in the release notes.
PS: I had the same problem with the logout endpoint. If I don’t send the username the request is rejected.