Skip to main content

Questions tagged [passport-twitter]

Passport strategy for authenticating with Twitter using the OAuth 1.0a API.

passport-twitter
0 votes
1 answer
46 views

Mongoose CastError: Cast to ObjectId failed for Twitter ID (type string)

I’m working on a content syndication project where I’m implementing Twitter authentication using Passport.js and Mongoose. The authentication flow works up to the point of deserializing the user. I’m ...
Belmin's user avatar
  • 1
1 vote
0 answers
43 views

I keep getting 'Something went wrong' using Twitter OAuth 2.0 in NestJS

So first, This is my Twitter Developer User authentication settings: I am trying to use the Twitter passport OAuth2 package provided by @superfaceai in my NestJS backend, I don't mind to change the ...
Abdel's user avatar
  • 542
0 votes
0 answers
30 views

Communication with twitter in oauth1 user context on my backend express

i create a aplication where the user connect to my app with twitter i use passport-twitter for that it use oauth1 for connect. With that i get the token and tokensecret of the user. I have create also ...
cedric godard's user avatar
0 votes
0 answers
18 views

double passport connexion twitter and discord

I am currently facing a significant issue. My frontend is built with Next.js, and my backend for the API is powered by Express. I'm implementing a dual authentication system where users need to be ...
cedric godard's user avatar
3 votes
0 answers
95 views

Node.js passport-twitter: Unable to get user email in passport-twitter authentication

I want to get the user email when the user is logging in with the Twitter strategy within the profile object. I searched for answers. I found these links where people are saying to use includeEmail or ...
Abeer's user avatar
  • 165
1 vote
1 answer
260 views

Linking Twitter account to user account (twitter-passport)

Currently, a user is able to login in and sign up for my application no problem. I've then added a "Link your twitter user to account" button which when clicked takes the user to '/auth/...
Seth King's user avatar
1 vote
0 answers
167 views

InternalOAuthError: failed to obtain request token passport-twitter

I followed the docs of passport-twitter ` const TwitterStrategy = require("passport-twitter").Strategy passport.use(new TwitterStrategy({ consumerKey: process.env.TWITTER_CONSUMER_KEY, ...
Naeem Navjivan's user avatar
0 votes
1 answer
868 views

http://localhost:3000 or http://127.0.0.1:3000 both are invalid website URL in Twitter Developer App for User Authentication

I am exploring Passport.js and authentication with Twitter OAuth, In which I have created demo application in Twitter developer app and have to add callback URL and website URL. So I am facing error ...
Jay Vadgama's user avatar
1 vote
0 answers
136 views

error when setting twitter oauthv1 with passportjs

so i am trying to set up twitter oauth, either v1 or v2, to my web app. google oauthv2 is working just fine but when i try passport-twitter-oauth2 it says that there isn't any access toekn, and when i ...
Ninja's user avatar
  • 337
0 votes
1 answer
130 views

How do i get the twitter return url when authenticating using passport twitter

I'm using passport twitter to authenticate and while it does work and redirect me to the main page i want to save the oauth token that's there in the url before it redirects me to my main page as i ...
Anoushk's user avatar
  • 611
0 votes
1 answer
179 views

Twitter OAuth Strategy Access Level & Email Problem

I have a Twitter OAuth strategy like this: consumerKey: process.env.CONSUMER_KEY, consumerSecret: process.env.CONSUMER_SECRET, userProfileURL: "https://api.twitter.com/1.1/account/...
user avatar
1 vote
0 answers
76 views

Authenticating by twitter in Nodejs stateless

I am developing stateless APIs and authenticating using JWT and passport, but currently, I want to add "login with Twitter" and maybe discord too. The problem is they all use sessions for ...
Youssef Alaa's user avatar
1 vote
1 answer
114 views

Call Passport API endpoint protected by passport-twitter strategy from Postman

Currently I have an endpoint http://127.0.0.1/login/twitter that if I hit the Twitter Authentication pops up, I authorize, then the page itself works as expect. I can then in the browser go to the ...
Joe's user avatar
  • 675
1 vote
0 answers
68 views

Passport.authenticate() gets stucks

I am trying to make a "Connect with Twitter" feature for my website, and it is the first time that I use Passport.js. I have a problem since a while now : when trying the api, the passport....
Guillaume Getkoz's user avatar
1 vote
1 answer
136 views

Tweet on user profile using Twit package

I am trying to create a tweet to the user profile using twit package. This is the code I am using. By using this code I am able to tweet to my profile because I have access_token and ...
Rishabh's user avatar
  • 2,538

15 30 50 per page
1
2 3 4 5