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

oAuth not redirecting back to application #27

Open
Neuroforge opened this issue Nov 10, 2018 · 1 comment
Open

oAuth not redirecting back to application #27

Neuroforge opened this issue Nov 10, 2018 · 1 comment

Comments

@Neuroforge
Copy link

Neuroforge commented Nov 10, 2018

Hello Ivan,

ISSUE: The code does not seem to hit "http://localhost:4000/api/v1/auth/twitter". The popup seems to return to the callbackurl defined in the Application Settings on the developer dashboard.

EXPECTED BEHAVIOUR: I expected the popup to close and return to http://localhost:4000/api/v1/auth/twitter where the code would be verified and then saved to the user model.

I am new to Twitter API and oAuth.

I have implemented your code and the Twitter window appears.

When i authorize my application, it will then redirect to the callbackurl defined in the Application Settings.

This does not return to my current app with the token information that was requested.

This endpoint does not exist in the application.

oauth_callback: "http%3A%2F%2Flocalhost%3A3000%2Ftwitter-callback",

Should the callback be router.route('/auth/twitter')?
Should this be defined in the Application settings?


Custom Twitter Login content

@ragrag
Copy link

ragrag commented Oct 20, 2019

@Neuroforge any luck getting it to work?

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