Fixes in response format in frontend and backend apis

This commit is contained in:
Raghunandan
2020-05-25 16:51:50 +02:00
parent 6cd55c3b7b
commit a739f2da58
4 changed files with 11 additions and 5 deletions
@@ -63,7 +63,8 @@ export class GoogleAuthProvider
maxAge: THOUSAND_DAYS_MS,
secure: false,
sameSite: 'none',
path: 'localhost:3000/auth/google',
domain: 'localhost',
path: '/auth/google',
httpOnly: true,
};
@@ -123,6 +124,7 @@ export class GoogleAuthProvider
accessToken,
refreshToken,
scope: params.scope,
expiresInSeconds: params.expires_in,
});
},
);