updates to teamsnapCallback

This commit is contained in:
2024-03-10 14:01:09 -05:00
parent 7efb083e1d
commit a9fa89107e
9 changed files with 77 additions and 63 deletions

View File

@@ -18,6 +18,7 @@ passport.use(
callbackURL: "/auth/teamsnap/callback",
passReqToCallback: true,
scope: ["read", "write"],
proxy: true
},
async function (req, accessToken, refreshToken, profile, done) {
json = JSON.parse(profile._raw);