forked from phc/website
9 lines
264 B
Plaintext
9 lines
264 B
Plaintext
<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>
|