Developer example

Next.js sample for modern OIDC sign-in

Use the Next.js sample when you want a familiar web application setup with a clear path from standards-based login to a more structured identity layer.

Next.js App Router + Auth.js Web app login flow for a modern JavaScript stack
Best for
  • Next.js teams that want a practical identity baseline without custom protocol work.
  • Operational web apps that need a clean sign-in flow before layering product-specific logic on top.
  • Teams that want GitHub-hosted example code but a documented explanation on Tuurio's own domain.
What this sample shows
  • OIDC provider setup in a Next.js application with a production-oriented structure.
  • How to connect callback routing, session handling, and logout to Tuurio ID.
  • An example starting point for internal tools, member frontends, and organization-facing portals.
Integration model

Start with standard login, keep room for a richer identity model later

The Next.js sample focuses on clean standards-based sign-in for a mainstream web stack. It does not pretend every real person is just an account record. Use it as the web entry point, then extend the product model only where managed profiles or delegated handling are actually needed.

These pages explain the sample on Tuurio's domain. GitHub remains the code host.

Stack
Next.js App Router + Auth.js
Pattern
Web app login flow for a modern JavaScript stack
Source code auth_samples_nextjs