julianlam / nodebb-plugin-sso-facebook

Single Sign-On Plugin for NodeBB
BSD 2-Clause "Simplified" License
19 stars 19 forks source link

Saving the fb users accesstokens and refresh tokens to nodebb user fi… #27

Closed jongarrison closed 8 years ago

jongarrison commented 8 years ago

I've added some minor functionality to save the accesstoken and refreshtoken from FB for the use of other parts of the application and thought maybe this would be a useful addition for others.

-Jon

julianlam commented 8 years ago

Ok to merge once fixed :y:

jongarrison commented 8 years ago

Sorry, just getting to this now, I'd be happy to make that change, but on line 65 you use "fbid" to store the facebook id, do want fbaccesstoken and fbrefreshtoken to be different? Your preference, I'm happy to do it either way. https://github.com/jongarrison/nodebb-plugin-sso-facebook/blob/master/library.js#L65

julianlam commented 8 years ago

Oh, then it's fine as is :+1:

julianlam commented 8 years ago

v1.1.6

jongarrison commented 8 years ago

Oh, cool. Great!