Skip to content
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

Demo doesn't work from iPad, multiple devices #78

Open
gbisaga opened this issue Aug 15, 2016 · 2 comments
Open

Demo doesn't work from iPad, multiple devices #78

gbisaga opened this issue Aug 15, 2016 · 2 comments

Comments

@gbisaga
Copy link

gbisaga commented Aug 15, 2016

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?

@florianheinemann
Copy link
Owner

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.

@gbisaga
Copy link
Author

gbisaga commented Aug 15, 2016

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants