Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

User is not showing up in my req #6

Open
SethKitchen opened this issue Jun 4, 2017 · 3 comments
Open

User is not showing up in my req #6

SethKitchen opened this issue Jun 4, 2017 · 3 comments

Comments

@SethKitchen
Copy link

SethKitchen commented Jun 4, 2017

I run this code and I login with Google, but no user is stored in req, so when it redirects back to the index page, it still shows "Login" and NOT "account". Why/How can this be?

I put a breakpoint in my "function (request, accessToken, refreshToken, profile, done) {" and it shows profile is filled with data and so I "return done(null, profile)", but I can't access profile or user anywhere else

@egnas
Copy link

egnas commented Feb 15, 2018

I have the same problem, did you manage to solve it? @SethKitchen

@DannyFeliz
Copy link

Same issue here

@mstade
Copy link
Owner

mstade commented Mar 6, 2019

You mean in the example I suppose? This is presumably because the example doesn't actually set up any proper session storage (it just assumes there's a redis instance running somewhere, which doesn't really make sense.) The example really should be reworked to use an in-process memory storage solution to avoid having this external dependency.

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

No branches or pull requests

4 participants