Closed DaveMitten closed 2 years ago
@DaveMitten can you provide the version of the package you're using in the implementation?
Please update to v2 of the package, which includes an optional saveNonce
during handleAuthStart
. The package handles generating a one time nonce and you can just pass a function to store it.
Hey all!
Wanted to say thank you for this project. I have an issue that may be my misuse but I am unsure (even with reading the package files)
error - TypeError: Cannot read property 'query' of undefined
auth.ts:
Without the generateNonce being passed to handleAuthStart, it clears this section.
Currently, when calling
req.body.query
it returnsundefined
Any idea why I am getting this error?