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
Hi !
I can't find this part of code : passport.use(new SharePointStrategy({ appId: SHAREPOINT_APP_ID , appSecret: SHAREPOINT_APP_SECRET , callbackURL: "http://localhost:3000/auth/sharepoint/callback" }, function(accessToken, refreshToken, profile, done) { User.findOrCreate({ userID: profile.id }, function (err, user) { return done(err, user); }); } ));
And I don't find the server part either is it normal ? Is it only a add-on for a Express node server ?
And where can we find a complete example of this code ?
I have lot of difficulties and questions can we discuss on whatever platform you want :) ?
Thanks
The text was updated successfully, but these errors were encountered:
Hi !
I can't find this part of code :
passport.use(new SharePointStrategy({ appId: SHAREPOINT_APP_ID , appSecret: SHAREPOINT_APP_SECRET , callbackURL: "http://localhost:3000/auth/sharepoint/callback" }, function(accessToken, refreshToken, profile, done) { User.findOrCreate({ userID: profile.id }, function (err, user) { return done(err, user); }); } ));
And I don't find the server part either is it normal ? Is it only a add-on for a Express node server ?
And where can we find a complete example of this code ?
I have lot of difficulties and questions can we discuss on whatever platform you want :) ?
Thanks
The text was updated successfully, but these errors were encountered: