export const googleSignIn = async () => {
try {
await account.createOAuth2Session(
'google',
'http://localhost:8081/home',
'http://localhost:8081/sign-in'
);
console.log('Google sign-in successful');
} catch (error) {
console.error('Google sign-in failed:', error);
throw new Error(error);
}
};