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

Try removing passport.session in LINE notify OAuth2 process #205

Open
MrOrz opened this issue Jun 25, 2020 · 0 comments
Open

Try removing passport.session in LINE notify OAuth2 process #205

MrOrz opened this issue Jun 25, 2020 · 0 comments

Comments

@MrOrz
Copy link
Member

MrOrz commented Jun 25, 2020

Actually we don't need to store "user" in session. We are not authenticating user anyway, we just get a token in a one-time OAuth2 process and then store it to database.

passport.session(), passport.serializeUser and passport.deserializeUser are used to store "user" in session. I think after removing these together, LINE notify would still work?

Originally posted by @MrOrz in #185

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