Demo doesn't work from iPad, multiple devices
First, I can't get the demo to work from my iPad. Every time I get a new token sent, it says "The supplied token is not valid (anymore). Please request another one." I've tried it three times now. I'm using email delivery and receiving the email right on the iPad.
Second, does this work by using cookies or local storage in the browser? If so, how does it work with multiple devices? Do I just need to invoke the email flow every time I want to change devices?
Hi!
How do you send your emails? I suspect someone in your delivery chain does already request the url (eg for virus checking or creating a short url). This "consumes" the token. You can change the behavior of invalidating tokens as described here: https://passwordless.net/deepdive#allow-token-reuse
And, yes, it uses cookies which means you can simply repeat the flow on any device.
Hope this helps!
On 15 Aug 2016, at 07:57, gbisaga [email protected] wrote:
First, I can't get the demo to work from my iPad. Every time I get a new token sent, it says "The supplied token is not valid (anymore). Please request another one." I've tried it three times now. I'm using email delivery and receiving the email right on the iPad.
Second, does this work by using cookies or local storage in the browser? If so, how does it work with multiple devices? Do I just need to invoke the email flow every time I want to change devices?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Ah, that makes sense. I'm using gmail, which doesn't do URL shortening, but it probably does hit the link for purposes of virus and dead link checking. It might be worthwhile to mention this in the documentation, since offhand I'd probably not want to enable token reuse and it looks like it will be necessary for some users at least. Thanks!