-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Closing soon] Lit SDK is unable to regenerate the signature when the stored signature is expired #90
Comments
hey i think this is a bug, we will fix this asap! |
Taking a look into the code base as well, what's the difference between lit-siwe & siwe, why need to fork it? |
@tonyfung99 |
Hey just published! Let me know if this version works for you |
Describe the bug
Lit SDK cannot regenerate the signature when the stored signature is expired.
When the user contains an expired signature in local storage and calls
LitJsSdk.checkAndSignAuthMessage
, it is unable to regenerate a new signature and the following actions will be failed.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The user should be prompted to sign again after the signature is expired.
Screenshots
Environment:
"@lit-protocol/lit-node-client-nodejs@2.1.114"
React
Additional info
In the function
LitJsSdk.checkAndSignAuthMessage
, the parameterexpiration
is ignored.The text was updated successfully, but these errors were encountered: