Skip to main content

Official examples

Guides, tutorials, and configurations for using Ory services. Examples maintained and tested by the Ory team.

Protect a page with login: Next.js/React

by @ory

Protect a page with login: React

by @ory

Protect a Page with Login: React Native

by @ory

Protect a page with login: Express.js

by @ory

Protect a page with login: Go

by @ory

Protect a page with login: PHP

by @ory

Protect a page with login: Vue.js

by @ory

Protect a page with login: Flutter

by @ory

Protect a page with login: Django

by @ory

Protect a page with login: Flask

by @ory

Customize self-service UI: Node.js

by @ory

Customize self-service UI: Next.js/React

by @ory

Customize self-service UI: React Native

by @ory

Ory Cloud with Supabase Backend

by @ory

Community Examples

Guides, tutorials, and configurations for using Ory services contributed by the Ory community.

Customize self-service UI: Flutter

by @amorevino

Customize self-service UI: Flutter Web

by @IGLU-Agency

Protect a page with login: Kotlin

by @hbrammer

Customize self-service UI: NextJs

by @spa5k

Customize self-service UI: Erlang

by @hrefhref

Customize self-service UI: Rescript

by @allancalix

Customize self-service UI: Svelte

by @micleyman

Customize self-service UI: Svelte

by @drejohnson

Customize self-service UI: Svelte

by @emrahcom

Selfhosted examples

Guides, tutorials, and configurations for self-hosting Ory services. These examples are partly contributed by the Ory community, in parts by the Ory team.

API Gateway using Kong, Ory Kratos & Ory Oathkeeper

by @ory

Ory Oathkeeper configurations

by @ory

Ory Hydra Nginx configurations

by @ory

Ory Kratos Nginx configurations

by @ory

Basic Admin UI for Ory Kratos

by @dfoxg

SSO and ACL Ory Stack

by @pngouin

Reference Ory Stack Docker Compose

by @radekg

Ory Kratos with Supabase backend

by @ory

Ory Hydra / Kratos integration in Go

by @atreya2011