only save refresh token in google auth

This commit is contained in:
Martin McKeaveney 2022-04-24 23:33:50 +01:00
parent 33717ceb30
commit 0fbb841855
1 changed files with 1 additions and 1 deletions

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 })
}
)