Purpose & Overview
Adds one-click 'Sign in with Google' authentication using Arctic OAuth2, handling redirect flows, state validation, and account linking.
Installation & Setup
1
Install the package
bash
bun veap add @veap/auth-google-plugin2
Register in lib/veap.ts (or auto via lib/plugins.gen.ts)
lib/veap.ts
typescript
// lib/veap.ts
import { Application } from "@veap/core/core/server";
import authGooglePlugin from "@veap/auth-google-plugin";
export const app = Application.configure()
.withAuth()
.withPlugins([authGooglePlugin])
.create();Keep in mind
- Requires registering an OAuth application in Google Cloud Console and configuring redirect URI (e.g. /api/auth/google/callback).
- Injects directly into the login form extension point provided by @veap/auth-plugin.
- Uses secure PKCE flow and encrypted session state tokens.
Dependencies
Veap Core
@veap/core (^0.1.0)
Required Veap Plugins
NPM Packages
- arctic@^3.0.0
- lucide-react@^1.27.0
Authors & Maintainers
Veap Core Team
Maintainer
Specifications
- License
- MIT
- Type
- plugin
- Status
- official
- Repository
- GitHub →
- Issues
- Report issue →