Skip to content

oAuth not redirecting back to application #27

@Neuroforge

Description

@Neuroforge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions