only save refresh token in google auth
This commit is contained in:
parent
84d2bb3cf5
commit
46b424308f
|
@ -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 })
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue