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

Combining RememberMe with Google OAuth? #20

Open
MichaelFromin opened this issue Apr 27, 2016 · 0 comments
Open

Combining RememberMe with Google OAuth? #20

MichaelFromin opened this issue Apr 27, 2016 · 0 comments

Comments

@MichaelFromin
Copy link

I am currently using Google OAuth (via Passport and passport-google-oauth) to authenticate people to an application. This is working as expected - no issues with that part.

What I would like to do is then layer a RememberMe token on top of the OAuth so that for 30 days after you authenticate you don't need to authenticate again to Google.

How can I combine this package with passport-google-oauth to get that effect? Can I have multiple passport.authenticate() calls where the RememberMe one eliminates the need to call out to Google?

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

1 participant