-
Notifications
You must be signed in to change notification settings - Fork 66
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
Signatures do not expire #34
Comments
@darrynten Ah, would there ever be a situation where this would happen? (maybe on webhooks running?) I guess a simple check of timestamp is within the last 5-10 mins? |
Hey @darrynten Just seeing if you seen the above ;) what do you suggest. |
According to the Shopify docs it seems like this value is returned from Shopify themselves when doing oauth. |
I think it's a little more complex than this. What value does Shopify return? |
Ah this is for online tokens through however, it doesn't give an expires for offline tokens I don't believe. |
Would it be a good idea to return the |
Yes, going to put this in my todos. |
The
verifyRequest
method does not check the freshness of the signature, which means the signatures are still valid after expiration on Shopify.It should be possible to configure an expiration and check the timestamp at L524.
The text was updated successfully, but these errors were encountered: