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've noticed that the generated Authorization header is not working as expected.
constbase64url=require('base64url');constusername='user';constpassword='password';console.log('Basic '+base64url(`${username}:${password}`));// Method implemented in this passport.console.log('Basic '+Buffer.from(`${username}:${password}`).toString('base64'));
Notice that the generated authorization header is different. Is this intentional or am I missing something? Thank you.
The text was updated successfully, but these errors were encountered:
Oh sorry, it has been a minute since I checked this. But, you're right. The twitter api expects a base64 encoded string; not a base64-url-encoded string. This has not produced any errors on my end though. But I will address this soon.
Thank you for writing this passport.
I've noticed that the generated Authorization header is not working as expected.
Notice that the generated authorization header is different. Is this intentional or am I missing something? Thank you.
The text was updated successfully, but these errors were encountered: