feat: Refresh token on load and user information added

This commit is contained in:
مهرزاد قدرتی
2025-08-17 13:00:25 +03:30
parent dd6e2fdd0d
commit 3410c52656
13 changed files with 137 additions and 47 deletions

View File

@@ -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,