---
title: "Built-in user authentication for your backend | Backenly"
description: Email and password, Google sign-in, magic links, email verification and JWT sessions on every plan, signed with a per-project secret and enforced by RLS.
url: https://backenly.com/features/authentication
markdown_url: https://backenly.com/features/authentication.md
---

# Auth for your users, built in

Sign-up, sign-in, sessions and access control on every plan, signed with a secret that belongs to your project alone.

## A signing secret per project

Passwords, Google sign-in and magic links, with tokens signed by a secret no other project shares.

### Sign-up and sign-in endpoints

Every project gets its own sign-up and sign-in endpoints. Users register with email and password and receive tokens for their authenticated requests.

### JWT sessions

Short-lived access tokens and longer-lived refresh tokens, signed with a project-specific secret that no other project shares.

### Enforced by the database

Sessions integrate with row-level security, so a signed-in user reads and writes only their own rows, enforced in PostgreSQL rather than in API code.

### SDK helpers

Sign-up, sign-in, sign-out and token refresh in the JavaScript SDK, so a frontend needs a few lines rather than an auth library.

## Questions

### Is authentication included on the Free plan?

Yes. Authentication is included on every plan, Free included, with no auth-specific charges.

### Can I customize the authentication flow?

Auth settings are configured per project. Roles, permission policies and access rules can be set from the dashboard or by your agent.

### Does Backenly support OAuth or social login?

Yes. Projects can enable Google sign-in for their users alongside email and password. Email verification and magic-link sign-in are also supported, with hosted pages and branded emails handled by the platform.

## Related features

- [Agent-built backends](https://backenly.com/features/ai-backend-generation.md)
- [Postgres database](https://backenly.com/features/database-setup.md)
- [REST API](https://backenly.com/features/api-generation.md)

---

Source: [Built-in user authentication for your backend | Backenly](https://backenly.com/features/authentication). Every page in Markdown: https://backenly.com/index.md. Agent docs: https://backenly.com/llms.txt.
