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
I'm trying to make small project that uses Twitter provider for signing in with twitter. After signing in it'll load the recent tweets from the user. But, to consume the Twitter API I would need access_token and secret on the server side.
I was able to get those on client side (without using next-firebase-auth). But, since Twitter doesn't allow their APIs to be consumed on client side, I chose to use next-firebase-auth for SSR authentication.
Could someone help me get those access_token and secret on the server side please?
For more context, this is how I was getting credential object on client side, credential object has access_token and secret keys:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to make small project that uses Twitter provider for signing in with twitter. After signing in it'll load the recent tweets from the user. But, to consume the Twitter API I would need
access_token
andsecret
on the server side.I was able to get those on client side (without using
next-firebase-auth
). But, since Twitter doesn't allow their APIs to be consumed on client side, I chose to usenext-firebase-auth
for SSR authentication.Could someone help me get those
access_token
andsecret
on the server side please?For more context, this is how I was getting credential object on client side, credential object has

access_token
andsecret
keys:Beta Was this translation helpful? Give feedback.
All reactions