---
title: Connect your app
summary: Tessera speaks standard OpenID Connect and OAuth 2.1, so any certified OIDC library signs people in to your app with no Tessera SDK.
section: connect
order: 1
---
# Connect your app

Tessera speaks standard OpenID Connect and OAuth 2.1, so any certified OIDC library signs people in to your app with no Tessera SDK.

## No SDK required

Your app needs three values. Give them to the OIDC library you already use.

| Value | Where it comes from | Example |
| --- | --- | --- |
| Issuer | Your realm's address | `https://login.kurthlabs.com/realms/acme` |
| Client ID | The app you registered | `acme-web` |
| Client secret | Shown once when the app is created (confidential apps only) | kept in `.env.local`, never in code |

A plain sign-in needs no `resource` parameter and no other Tessera-specific setting. The library reads everything else (endpoints, signing keys, supported features) from the issuer's discovery document at `<issuer>/.well-known/openid-configuration`. See [The sign-in flow](/docs/connect/sign-in-flow.md) for each request and response.

A realm can also have its own login domain. Then the issuer is that domain with no path, for example `https://login.acme.example`. Always copy the issuer from your app's settings or from `tessera init`, and never build it by hand.

## The shortest path

1. Run `tessera init` in your project. It registers the app, writes the three values to an env file and prints working code for your stack.
2. Or follow a quickstart: [Next.js](/docs/quickstart/nextjs.md), [SvelteKit](/docs/quickstart/sveltekit.md), [Express](/docs/quickstart/express.md), [Go](/docs/quickstart/go.md), [Python](/docs/quickstart/python.md).
3. Protecting an MCP server instead? Read [Protect an MCP server](/docs/quickstart/mcp-server.md).
4. Moving off another sign-in (Google, Auth0, Clerk, Firebase, Cognito or your own passwords)? Read [Switch to Tessera from your current sign-in](/docs/quickstart/switch-sign-in.md).

## What you still decide

- **Client type.** Public (browser or mobile, no secret) or confidential (server, has a secret). See [Client types](/docs/connect/client-types.md).
- **Sign-out.** Ending your own session is not the same as ending the person's Tessera session. See [Logout](/docs/connect/logout.md).
- **Events.** Webhooks tell your backend when a user is created, disabled or deleted. See [Webhooks](/docs/connect/webhooks.md).

## Helper libraries

Go and TypeScript helper libraries for the parts that are easy to get wrong (validating access tokens in an API, back-channel logout tokens, webhook signatures) are planned and not published yet. You never need them to sign people in. [Helper libraries](/docs/connect/helpers.md) shows how to do each job today with standard libraries.

## Reference

- [Endpoints](/docs/reference/endpoints.md)
- [Token claims](/docs/reference/claims.md)
- [Error codes](/docs/reference/error-codes.md)
- [Webhook events](/docs/reference/webhook-events.md)
- [The tessera CLI](/docs/reference/cli.md)
