What is OAuth? Delegated access, explained simply
OAuth (specifically OAuth 2.0) is an open standard for authorisation that lets one application access a limited slice of your data in another application, without you ever handing over your password. The everyday example is the “Sign in with Google” button, or granting a calendar app permission to read your appointments — in both cases, you approve a specific, limited kind of access, and the app receives a token that proves it, rather than your credentials.
How it works: tokens and scopes
Instead of an app asking for and storing your password for another service — which would hand it far more power than it needs, forever — OAuth issues an access token: a piece of data that proves the app has been granted specific permissions, without exposing your credentials at all. If that token leaks, an attacker gets only the limited access it represents, and it can be revoked without touching your actual password.
Access tokens are bounded by scopes — narrow, explicit permissions such as “read your calendar” or “view your basic profile”, rather than blanket access to your entire account. A photo-printing app that only needs to read your photo library should request a scope that permits exactly that, nothing more, and you can see and approve precisely that scope before granting it.
The consent screen you already know
The familiar “App X wants to access your Google Account” screen, listing exactly what it’s asking for, is OAuth’s consent step made visible. You review the specific scopes being requested, approve or deny them, and the requesting app receives a token limited to what you approved — it never sees or stores your password for the service you’re logging into. You can typically revoke that access later from the other service’s security settings without changing your password at all.
Why OAuth beats sharing passwords
The old alternative — handing an app your actual username and password for another service — is bad on every axis: the app gets unlimited access rather than a narrow scope, it must store your password securely (or fail to), and revoking access means changing your password everywhere that credential was reused. OAuth’s scoped, revocable tokens fix all three at once, which is why it became the standard approach for connecting apps and APIs to each other across the web.
Where OAuth shows up in the cloud
OAuth underpins a large share of how modern APIs grant access to third-party applications, and cloud identity services build on it directly — Amazon Cognito, for example, uses OAuth 2.0 and OpenID Connect to manage sign-in and delegated access for applications built on AWS. It sits within the broader field of identity and access management: IAM governs identities and permissions generally, while OAuth is the specific mechanism many modern APIs use to grant one application scoped access to another on a user’s behalf.
Original practice questions, timed mock exams and revision notes. No card, nothing to pay.
Questions, answered
Sources
Exam details in this post come from the vendor's published exam guide, which is the authority on what is tested and how.
- AWS Certified Developer – Associate (DVA-C02) exam guide — Amazon Web Services
- ISC2 Certified in Cybersecurity exam outline — ISC2