LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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
authenticationauthorizationLaravelSanctumpoliciesgatesRBACAPI tokensmiddleware

Capabilities

Configure Sanctum SPA authenticationImplement API token authenticationCreate login and logout flowsDefine policies and gates

Typical Inputs

Laravel applicationSanctum configurationAuthentication routes

Typical Outputs

Authentication redirectsIssued API tokensRevoked API tokens

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

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.