You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Twitter callback request, the server gives an error of "500: Error: Failed to find request token in session"
OAuth token is definitely returning by Twitter in query params, but request comes as new (I compare request-id and details), and session object I see as reset.
I am trying to get the OAuth token for users which is provided by Twitter.
Expected behavior
It should be able to identify OAuth token sent back by Twitter in query params, and continue further?
Actual behavior
As far as I have understood, if the concept of session forwarding, URLs are the same as localhost, so I am not sure why the session is losing out when /callback request comes.
But because of this, it's breaking in code.
Screenshot of code when session is getting updated with oauthtoken -
Next thing I see in callback call, request is passed with new session object -
The same thing, I checked in express server with express-session also.
Looks like we will have to go back to update session again from Twitter callback query Params
** READ THIS FIRST! **
Are you looking for help?
No, I am certain about issue
In Twitter callback request, the server gives an error of "500: Error: Failed to find request token in session"
OAuth token is definitely returning by Twitter in query params, but request comes as new (I compare request-id and details), and session object I see as reset.
I am trying to get the OAuth token for users which is provided by Twitter.
Expected behavior
It should be able to identify OAuth token sent back by Twitter in query params, and continue further?
Actual behavior
As far as I have understood, if the concept of session forwarding, URLs are the same as localhost, so I am not sure why the session is losing out when
/callback
request comes.But because of this, it's breaking in code.
Screenshot of code when session is getting updated with oauthtoken -
Next thing I see in callback call, request is passed with new session object -
Steps to reproduce
Run https://github.com/VB-Inc/rise-in-social-backend locally
// Format code using Markdown code blocks
Environment
The text was updated successfully, but these errors were encountered: