Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Store mail token inside session instead of behind redis key #3

Open
aktiur opened this issue Mar 14, 2017 · 0 comments
Open

Store mail token inside session instead of behind redis key #3

aktiur opened this issue Mar 14, 2017 · 0 comments
Assignees

Comments

@aktiur
Copy link
Member

aktiur commented Mar 14, 2017

Currently, the mail token is stored directly inside Redis.

It means that it's entirely possible to start the auth process on one device, and then follow the confirmation link on another device, which may break the OAuth process.

For this reason, the mail token should be stored inside the session, ensuring that the second part of the process will happen on the same device that the first part.

@aktiur aktiur self-assigned this Mar 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant