Skip to main content
Civic Auth

Your app needs auth. This one comes with guardrails.

Civic Auth takes 5 minutes to set up. Google, Apple, email, and passkey sign-in are built in. But the real reason to pick it: your agents get Civic tokens that plug straight into Civic with scoped permissions out of the box. No extra wiring.

Pick your auth. The security stack comes with it.

When users authenticate through Civic Auth, your agents inherit the full Civic security layer without extra setup.

Scoped agent tokens

Your user logs in with Google. Your agent gets a Civic token scoped to exactly what it needs. Read Slack messages but not post them. Query Postgres but not drop tables. Permissions travel with the token.

Auth events in the audit log

Every sign-in, token issuance, and agent action tied to that token gets logged. When your compliance team asks what happened last Tuesday, you have the answer.

Kill one token, kill everything

User compromised? Revoke their Civic token and every agent acting on their behalf loses access simultaneously. No per-service cleanup.

Install. Configure. Ship.

terminal
1npm install @civic/auth
2 
3# or
4yarn add @civic/auth

Let your AI assistant set up auth for you.

Civic Auth ships with pre-built prompts for every supported framework. Paste one into Cursor, Claude, or any LLM and it walks through the full integration step by step.

Copy the prompt. Paste it into Cursor, Claude, or ChatGPT. Follow the steps. Done.

Works with what you already use

ReactFrontendNext.jsFrontendReact NativeMobileVanilla JSFrontendNode.jsBackendExpressBackendFastifyBackendHonoBackendDjangoPythonFastAPIPythonFlaskPython

JavaScript, TypeScript, and Python SDKs. More frameworks on the way.

Already locked into an auth provider?

You don't need to rip out Auth0 or Google login. Token Exchange converts your existing provider's tokens into Civic tokens. Your agents get the full Civic security layer without changing a single login screen.

See Token Exchange

Five minutes. One SDK.

Get your Client ID at auth.civic.com. Your first 15,000 users are free.