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

Unable to forward session in request #101

Closed
2 tasks done
vaibhavarora14 opened this issue Dec 12, 2021 · 2 comments
Closed
2 tasks done

Unable to forward session in request #101

vaibhavarora14 opened this issue Dec 12, 2021 · 2 comments

Comments

@vaibhavarora14
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

3.24.1

Plugin version

3.0.0

Node.js version

14.18.1

Operating system

macOS

Operating system version (i.e. 20.04, 11.3, 10)

12.0.1

Description

We are using Twitter Login with Passport (https://github.com/jaredhanson/passport-twitter)
A call is sent to Twitter with session object changes by the aforementioned library, and then when a callback request from Twitter is received at Fastify end, its session object is reset.

I am believing it has to do with fastify-secure-session. More details at jaredhanson/passport-twitter#109

Steps to Reproduce

Please follow jaredhanson/passport-twitter#109

Expected Behavior

Session object should not be reset and work properly

@Eomm
Copy link
Member

Eomm commented Jan 8, 2022

Could you add the request's callback details?

  • What is the payload?
  • Does it contain all the query parameters expected?
  • Does it contain the headers?

@vaibhavarora14
Copy link
Author

I am no longer working on this, hence closing this ticket for now

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