passport-twitter-token icon indicating copy to clipboard operation
passport-twitter-token copied to clipboard

use with sessionless JWT

Open alexandrepa opened this issue 7 years ago • 1 comments

I just want to know if it's possible to use this strategy without passport session enabled ? Thanks

alexandrepa avatar Aug 26 '17 20:08 alexandrepa

@alexandrepa I don't think you can. This is exactly the same issue here https://github.com/jaredhanson/passport-twitter/issues/90 (and multiple other issues in this repo), OAuth 1 needs you to keep in memory a secret during the authentication. This repo and passport-twitter are both using passport-oauth1 which is based on sessions to store that secret... That's pretty unfortunate

jebarjonet avatar Jul 14 '18 22:07 jebarjonet