OAuth (Open Authorisation): A standard protocol that lets users grant third-party applications limited access to their resources without sharing passwords. The scheme behind "Sign in with Google". OAuth is a standard that lets users give an application limited access to their account elsewhere, without sharing their password. "Sign in with Google" and an app asking to read your calendar both use it.
Frequently asked questions about OAuth (Open Authorisation)
How is OAuth (Open Authorisation) used in practice?
The user logs in at the provider, approves the requested permissions, and the application receives a token with exactly those rights. The user can revoke the token later without changing their password.
What should you keep in mind with OAuth (Open Authorisation)?
OAuth 2.0 covers authorisation; OpenID Connect adds a standard way to learn who the user is, which is what login buttons rely on. Use a well-tested library or framework package, such as Laravel Socialite or Passport, rather than implementing the flows yourself. Request only the scopes you need, store tokens securely, and use the authorization code flow with PKCE for apps running in browsers or on phones.
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
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.
Configure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code. Use when setting up security scanning, implementing DevSecOps practices, or automating code vulnerability detection.