Developer example

Laravel sample for practical OIDC web login

Use the Laravel sample when you need a familiar PHP web application pattern for standards-based sign-in, server-side sessions, and operational business workflows.

Laravel 12 Server-side web app / session-based login
Best for
  • Laravel teams building association tools, member administration, or organization-facing portals.
  • Projects that want to keep login standards-based without rebuilding identity from scratch.
  • Applications that may later need richer people and relationship modelling than a simple account table.
What this sample shows
  • How to integrate Tuurio ID into a Laravel web flow with server-side sessions.
  • The essential login, callback, and logout path in a PHP framework teams already know.
  • A realistic base for operational products where identity must stay maintainable over time.
Integration model

Use a mainstream PHP stack without falling back to ad-hoc auth

This sample keeps the Laravel integration straightforward: standard OIDC, readable session handling, and a base that fits real organizations. Start here for login, then layer permissions, profile views, or managed identity use cases only where the product actually needs them.

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

Stack
Laravel 12
Pattern
Server-side web app / session-based login
Source code auth_samples_laravel