Skip to content

References: Sign-In, Permissions and Access

  1. Authentication - Wikipedia - Explains how systems confirm who a user is, including passwords and multiple factors. It is the first half of the sign-in model in this chapter.

  2. Authorization - Wikipedia - Covers how systems decide what a confirmed user may do. It supports the chapter's sections on roles, least privilege and server-side checks.

  3. OAuth - Wikipedia - Describes the OAuth standard behind "Sign in with Google" and similar buttons, where OpenID Connect adds the identity layer on top. It explains what an auth provider does for an app.

  4. OAuth 2 in Action - Justin Richer and Antonio Sanso - Manning, 2017 - Known for building a working client, server and protected resource so readers watch each OAuth step happen. That hands-on approach makes tokens and redirects understandable.

  5. Solving Identity Management in Modern Applications - Yvonne Wilson and Abhishek Hingnikar - Apress, 2023 - Written by identity engineers, it follows a user's identity through sign-up, sign-in, sessions and sign-out. Its lifecycle view connects sessions, tokens and access control.

  6. Authentication Cheat Sheet - OWASP - Practical rules for sign-in, passwords, multi-factor authentication and error messages. Useful when reviewing an agent's sign-in code.

  7. Authorization Cheat Sheet - OWASP - Guidance on enforcing access on the server, denying by default and checking ownership of each object. It backs the chapter's object ownership check.

  8. OWASP Top 10:2025 - OWASP - The current Top Ten keeps broken access control in first place. It shows why the server-side and object ownership checks in this chapter come first.

  9. Session Management Cheat Sheet - OWASP - Covers session IDs, cookie flags, timeouts and sign-out. It supports the chapter's sections on sessions and cookies.

  10. Row Level Security - Supabase Docs - Shows how database policies limit each user to their own rows. It is a common way AI-built apps enforce authorization below the app code.