> **Building with AI coding agents?** If you're using an AI coding agent, install the official Scalekit plugin. It gives your agent full awareness of the Scalekit API — reducing hallucinations and enabling faster, more accurate code generation.
>
> - **Claude Code**: `/plugin marketplace add scalekit-inc/claude-code-authstack` then `/plugin install <auth-type>@scalekit-auth-stack`
> - **GitHub Copilot CLI**: `copilot plugin marketplace add scalekit-inc/github-copilot-authstack` then `copilot plugin install <auth-type>@scalekit-auth-stack`
> - **Codex**: run the bash installer, restart, then open Plugin Directory and enable `<auth-type>`
> - **Skills CLI** (Windsurf, Cline, 40+ agents): `npx skills add scalekit-inc/skills --list` then `--skill <skill-name>`
>
> `<auth-type>` / `<skill-name>`: `agentkit`, `full-stack-auth`, `mcp-auth`, `modular-sso`, `modular-scim` — [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# AWS Cognito integration examples

Examples showing how to integrate AWS Cognito with Scalekit SSO using OpenID Connect (OIDC).
These examples demonstrate how to integrate AWS Cognito with Scalekit using OpenID Connect (OIDC), covering provider setup, callback handling, token exchange, and session management.

### Overview

## AWS Cognito integration

AWS Cognito SSO integration using OpenID Connect.

This repository demonstrates integrating AWS Cognito with Scalekit using OIDC. It covers provider setup, callback handling, and session management.

View repository

### Next.js

## Cognito with Next.js

Next.js example integrating AWS Cognito with Scalekit over OIDC.

This example connects a Next.js app to AWS Cognito through Scalekit using OIDC. It demonstrates redirects, token exchange, and secured pages.

View repository


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
