passport-oauth2
passport-oauth2 copied to clipboard
OAuth 2.0 authentication strategy for Passport and Node.js.
It is common that login page with a param `url=xxx`, will jump to `url` after login successfully. Now callbackURL is static, could only be configured as a unique value. Maybe...
For a less than standard OAuth implementation, I needed an additional GET param added to the authorization url. After some pocking around, I found, that simply adding an options object...
I know,[ that's what the code says](https://github.com/jaredhanson/passport-oauth2/blob/master/lib/strategy.js#L97) anyway. Couple of questions: Why? :) My Issue: since the key is session independent (by design) it is always generated by the last...
I noticed `authorizationParams` are always declared in the call to passport.authorize in the route handler. Is it possible to declare them in the Strategy options object? It doesn't work today,...
I am not able to get profile and refresh token. Here is the code: `app.get('/auth/example', passport.authenticate('provider', { scope: ['email'] })); app.get('/auth/example/callback', passport.authenticate('provider', { failureRedirect: '/login' }), function(req, res) { //...
Hi Jared, I was implementing the oauth flow using passport oauth2, for different shopping providers. Most of them was pretty straight forward, but when I started implementing Ebay using oauth2,...
Should it automatically get new access token using refresh token when access token is expired? Or at least provide an API to do so?
Looking through the code trying to figure out how to do CSRF `state` values, I noticed a bunch of undocumented options in the `Strategy` constructor: ``` customHeaders scope scopeSeparator state...
I'm writing an oAuth 2.0 flow for integrating with Vend POS and they return a `domain_prefix` along with the authorization code which is supposed to be used as a subdomain...