<script>
    import { authClient } from '@/client/auth-client' //import the auth client

    await authClient.signIn.oauth2({
        providerId: 'unipi',
        callbackURL: '/profilo', // the path to redirect to after the user is authenticated
    })
</script>
