alepha@docs:~/docs/reference/primitives$
cat $authGoogle.md1 min read
#$authGoogle
#Import
typescript
1import { $authGoogle } from "alepha/server/auth";
#Overview
Already configured Google authentication primitive.
Uses OpenID Connect (OIDC) to authenticate users via their Google accounts. Upon successful authentication, it links the Google account to a user session.
Environment Variables:
GOOGLE_CLIENT_ID: The client ID obtained from the Google Developer Console.GOOGLE_CLIENT_SECRET: The client secret obtained from the Google Developer Console.