These are chat archives for IdentityServer/Thinktecture.IdentityServer3

9th
Feb 2017
unirelax
@unirelax
Feb 09 07:19
Hi all,
Im facing a blocking issue with IS4 TokenRequestValidator for OwnerPasswordFlow
IS4 1.0.0 does not accept passwords containing only whitespaces
it was checked here:
if (userName.IsMissing() || password.IsMissing())
{
LogError("Username or password missing");
return Invalid(OidcConstants.TokenErrors.InvalidGrant);
}
Validation\TokenRequestValidator.cs, line 368
and I cannot find a way to override that behavior
it would be great if someone here can help... thank you
my current solution is... create a subclass of the original validator
and copy everything from it... except that lines of check
oops it's wrong group, it's IS3... sorry