All Plugins/Security & Authentication/v0.1.0

Veap Auth Google

Official

OAuth2 Google authentication provider integrating directly into the Veap Auth login screen and identity pipeline.

bun veap add @veap/auth-google-plugin

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-plugin
2

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

Profile →

Specifications

License
MIT
Type
plugin
Status
official
Repository
GitHub →
veap
Preparing0%