1
0
Fork 0
mirror of synced 2024-07-14 02:36:22 +12:00

only save refresh token in google auth

This commit is contained in:
Martin McKeaveney 2022-04-24 23:33:50 +01:00
parent 84d2bb3cf5
commit 46b424308f

View file

@ -59,7 +59,7 @@ async function postAuth(passport, ctx, next) {
callbackUrl,
(accessToken, refreshToken, profile, done) => {
clearCookie(ctx, Cookies.DatasourceAuth)
done(null, { accessToken, refreshToken })
done(null, { refreshToken })
}
)