spruceid / siwe-quickstart

Apache License 2.0
141 stars 54 forks source link

Nonce not available in sebsequent request. #35

Open isaadabbasi opened 2 years ago

isaadabbasi commented 2 years ago

https://docs.login.xyz/sign-in-with-ethereum/quickstart-guide/implement-sessions

When generating nonce, you set it in session, but for me, when the request is done, response is sent. In /verify route request.session.nonce, nonce is undefined.

Screenshot 2022-09-08 at 3 37 41 PM
0xStabby commented 2 years ago

I am running into this as well. Have you figured out a solution by chance?

https://docs.login.xyz/sign-in-with-ethereum/quickstart-guide/implement-sessions

When generating nonce, you set it in session, but for me, when the request is done, response is sent. In /verify route request.session.nonce, nonce is undefined.

Screenshot 2022-09-08 at 3 37 41 PM
Ian-Bright commented 1 year ago

+1

morgansson commented 10 months ago

This repo is not working at all, I wasted 10 hours trying to figure it out but nothing.