feat: Refresh token on load and user information added
This commit is contained in:
@@ -37,7 +37,7 @@ export const GoogleAuthentication = ({
|
||||
client_id: import.meta.env.VITE_GOOGLE_CLIENT_ID,
|
||||
scope: 'openid email profile',
|
||||
ux_mode: 'popup',
|
||||
response_type: 'id_token',
|
||||
response_type: 'code',
|
||||
callback: async (resp: GoogleCodeClientResponse) => {
|
||||
const res = await loginWithGoogleCall({
|
||||
idToken: resp.id_token,
|
||||
|
||||
Reference in New Issue
Block a user