> ## Documentation Index
> Fetch the complete documentation index at: https://docs.withgiga.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Passwordless login with email verification or Google OAuth

# Authentication

WithGiga uses passwordless authentication. There are two paths in:

* **Email verification** — one-time codes sent to your email
* **Google OAuth** — sign in with your Google account

## Email verification

1. Enter your email on the [login page](https://build.withgiga.ai/login)
2. Receive a 6-digit verification code in your inbox
3. Enter the code to authenticate

Codes are single-use and expire after 10 minutes. If you don't receive a code, check your spam folder and ensure the email address is correct.

## Google OAuth

Click **Continue with Google** on the login page and authorize WithGiga in the Google consent flow. Subsequent logins go through Google directly — no code required.

## Sessions

Once authenticated, your session persists for 30 days by default. Sign out from **Profile → Sign Out** or rotate sessions across all devices from **Settings → Security → Sign out everywhere**.

## API authentication

The web dashboard and the API use different credentials:

* **Dashboard** — email + code or Google OAuth (above)
* **API** — Bearer token in `Authorization` header

Generate an API key from [Profile](/profile). See the [API Authentication reference](/api-reference/authentication) for details.

## Troubleshooting

* **Code not received** — check spam, then click "Resend code" after 60 seconds
* **Invalid code** — codes are single-use; request a new one
* **Account locked** — too many failed attempts. Wait 15 minutes or contact support
