activedirectory2 will return an InvalidCredentialsError if this strategy is used without integration (ie, config integrated: false), and if invalid credentials are given. Invoke fail() instead of error(), so that the caller knows that this is an auth failure rather than a system issue.
activedirectory2 will return an InvalidCredentialsError if this strategy is used without integration (ie, config
integrated: false
), and if invalid credentials are given. Invokefail()
instead oferror()
, so that the caller knows that this is an auth failure rather than a system issue.Fixes #5