Authorization: How the client identifies itself — usually a Bearer token, Basic credentials, or an API key. The Authorization header carries the client's credentials with an HTTP request. Common forms are Bearer followed by a token, Basic with an encoded username and password, or a custom scheme for API keys. The server reads it to decide who is making the request. If it is missing or invalid, the answer is usually 401 Unauthorized.
Treat its contents as a password. Only send it over HTTPS, because anyone who sees the header can use the token. Keep it out of logs, error trackers and screenshots, and do not put tokens in URLs, where they end up in browser history and server logs. Give tokens a limited lifetime and the smallest set of permissions they need. If one leaks, you can then revoke it without affecting everything else.
Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.
Use when reviewing or setting HTTP response headers for a web app or API - security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS headers, caching headers (Cache-Control, ETag, Last-Modified, Vary) and cookies (Set-Cookie flags). Also use when a security scan reports missing headers.
OWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities ("run OWASP audit", "security review", "check my app security") or writing secure Laravel code involving auth, payments, file uploads, or API design. Triggers on security-related tasks, payment handling, authentication, or any request to audit a Laravel codeba