I need to use a JSON object as an authentication in Servicestack V.4.0.22. The object is in the body of an HTTP POST:
{ "username":"santaclaus","password":"verysecret","customfield":"stuff" }
From what I have read from other similar questions the solution should be to create a custom authentication provider extending CredentialsAuthProvider
, but somehow IServiceBase
authService
does not contain the original request input.
How do I access the original request?