Closed ruokid closed 4 years ago
And digest.authenticateRequest always return false
And digest.authenticateRequest always return false
this can solve the problem, but not good enough
Thanks, for pointing out the typo. Regarding digest.authenticateRequest always returning false, you 'fix' effectively disables authentication. Can you show me the entire exchange including the challenge?
Regarding digest.authenticateRequest always returning false, you 'fix' effectively disables authentication.
i forget set cnonce in challenge(), but why ctx.nonce = ctx.cnonce ?
if digest.challenge({ nonce: nonce }) then client will generate new nonce
so digest.authenticateRequest always returning false
now i change digest.challenge({ nonce: nonce }) => digest.challenge({ cnonce: nonce })