LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

auth-and-authorization - Implement Laravel authentication and authorization

Implement Laravel authentication with Sanctum and authorization with policies, gates, middleware, and role-based access control.

Tags

Updated: 2026-10-07

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Configure Sanctum SPA authentication
  • Implement API token authentication
  • Create login and logout flows
  • Define policies and gates
  • Protect routes with middleware
  • Apply role-based access control
  • Add login rate limiting

Inputs

  • Laravel application
  • Sanctum configuration
  • Authentication routes
  • User credentials
  • API requests
  • Authorization rules

Outputs

  • Authentication redirects
  • Issued API tokens
  • Revoked API tokens
  • Protected API responses
  • Authorization decisions
  • Validation and lockout messages

Requirements

  • Laravel application
  • Laravel Sanctum
  • Inertia.js
  • React
  • Session authentication support
  • API middleware support

Source

  • Spec: SKILL.md
authentication
authorization
Laravel
Sanctum
policies
gates
RBAC
API tokens
middleware
Configure Sanctum SPA authentication
Implement API token authentication
Create login and logout flows
Define policies and gates
Laravel application
Sanctum configuration
Authentication routes
Authentication redirects
Issued API tokens
Revoked API tokens