SaveMyCert
Cloud basics

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.

Authorisation, not authentication

This distinction is the single most important thing to understand about OAuth, and the most commonly confused. Authentication answers “who are you?” — proving your identity, typically with a password or MFA. Authorisation answers “what are you allowed to do?” — granting or denying access to a specific resource or action. OAuth is fundamentally about the second question: it was designed to let you grant an app limited access to your data on another service, not to prove your identity to that app.

That distinction matters because OAuth on its own does not tell an application who you are — only that it has been granted some scoped access. Identity was bolted on afterwards by a separate standard, OpenID Connect, built on top of OAuth, which adds a verified identity token alongside the access token. That’s the piece actually doing the work in most “Sign in with…” buttons you see today: OAuth grants access, OpenID Connect adds “and here’s who this user is”.

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.

Ready to start studying — free?

Original practice questions, timed mock exams and revision notes. No card, nothing to pay.

Jump straight into an exam
DVA-C02CC

Questions, answered

OAuth (OAuth 2.0) is an open standard that lets one application access a limited part of your data in another application — such as your calendar or basic profile — without ever seeing your password. It works by issuing a scoped access token that represents exactly what you approved.

Sources

Exam details in this post come from the vendor's published exam guide, which is the authority on what is tested and how.

Keep reading

Cloud basics
What is single sign-on (SSO)?
Cloud basics
What is Snowflake?
Cloud basics
What is SSH? A plain-English explainer
Cloud basics
What is SSL/TLS? The protocol behind the padlock