← @mortar-kit/auth

googlefunction

import { google } from '@mortar-kit/auth'

function google(options: GoogleOptions): AuthMethod

Sign in with a Google account. Add <baseUrl>/admin/auth/google/callback (or your basePath) as an authorized redirect URI of the OAuth client.

Parameters

options: GoogleOptions

Returns

AuthMethod