Learning: Model OAuth 2.0 delegated authorization
Purpose
Develop the OAuth 2.0 mental model required before connecting the outreach reporting system to Gmail.
Learning Goals
- Distinguish authentication from authorization.
- Explain delegated authorization.
- Identify the OAuth actors in this project.
- Explain the authorization-code flow.
- Distinguish authorization codes, access tokens, and refresh tokens.
- Explain OAuth scopes and least privilege.
- Understand why tokens must be treated as sensitive credentials.
- Identify how authorization requirements can affect system architecture.
Tasks
Constraints
- Do not connect a real Gmail account yet.
- Do not create production OAuth credentials yet.
- Do not store or commit any tokens or secrets.
- Focus on the mental model rather than Google-specific implementation syntax.
Completion Criteria
I can reconstruct the OAuth authorization flow without notes and correctly explain:
Resource Owner → Client → Authorization Server → Authorization Code → Tokens → Resource Server
I can also distinguish authentication from authorization and explain why the application should request only the minimum Gmail permissions necessary.
Learning: Model OAuth 2.0 delegated authorization
Purpose
Develop the OAuth 2.0 mental model required before connecting the outreach reporting system to Gmail.
Learning Goals
Tasks
learning/notes/oauth-2.md.Constraints
Completion Criteria
I can reconstruct the OAuth authorization flow without notes and correctly explain:
Resource Owner → Client → Authorization Server → Authorization Code → Tokens → Resource ServerI can also distinguish authentication from authorization and explain why the application should request only the minimum Gmail permissions necessary.