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

How to make a Twitter login with html #1

Open
bereat opened this issue Jan 30, 2019 · 1 comment
Open

How to make a Twitter login with html #1

bereat opened this issue Jan 30, 2019 · 1 comment

Comments

@bereat
Copy link

bereat commented Jan 30, 2019

How to make a Twitter login with html

@richie3366
Copy link
Owner

The PIN authentication scheme is not intended/designed to be used with websites.

If you want to make a login via Twitter, I recommend to use OAuth with callback URL (implemented in passport-twitter).

Or maybe you expressly want your users to do the PIN-steps by login-in to Twitter, then copy/paste the pin code into your webpage. In that case, I'm afraid my lib is not the best one to use (outdated dependencies, very old code, etc.), I recommend to use the twitter-pin-auth package. It has some docs and it uses Promises.

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