I have a CredentialsAuthProvider implementation that should return a custom payload instead of the default “ErrorMessages.InvalidUsernameOrPassword” when authentication fails.
The current implementation of DigestAuthProvider.Authenticate throws an HttpError on the last line of the method where I would expect it to call the OnFailedAuthentication message. Is there a way around this or is this intended behavior?
Sorry if the question was already posted somewhere - I couldn’t find a comparable question via the search.
Robert van Drunen