OAuth 2.0 lets an app use some of your data in another service without ever seeing your password.
This guide is for anyone who has seen an "Allow access?" screen and wondered what they were agreeing to. You do not need any technical background. If your business lets staff connect apps to work accounts, the same screens decide what those apps can reach.
In short
- OAuth is about permission, not passwords. The app gets a limited pass, called a token, and never sees your login.
- The permissions you approve decide how much the app can do, so read the screen before you press Allow.
- OAuth on its own does not prove who you are. "Sign in with..." buttons add a layer called OpenID Connect.
- Approved apps keep their access until you remove them, even if you change your password.
What you will learn
- Explain what OAuth does and why your password stays out of other apps.
- Read a permission screen and spot a request that is too big for the job.
- Check which apps are connected to your accounts and remove old ones.
- Ask the right questions about who may approve apps at work.
- Digital pass (access token)
- what the app gets instead of your password. It opens only what you agreed to.
- Permission list (scopes)
- the named things the app may do, such as "see your calendar".
- Permission screen (consent screen)
- the page where you see the app's request and press Allow or Cancel.
What is OAuth 2.0?
Think of a valet key for a car. It lets the valet drive and park the car, but it cannot open the boot. OAuth gives apps the same kind of limited key.
Say a booking app wants to add events to your online calendar. With OAuth, you sign in at the calendar company's own page, not in the app. You then agree to what the app may do.
The calendar company hands the app a digital pass, called an access token. The pass opens only what you agreed to, and your password never leaves the calendar company.
OAuth is a shared set of rules, so the same pattern works with email, files, chat and work tools. It is behind most "Connect your account" buttons.
Where the comparison stops working: a valet key always has the same limits. An OAuth pass can be narrow or very broad, depending on what the app asked for and what you approved.
Why does it matter?
In the past, some apps asked for your real password to another site. Then they could do anything you could do. To stop them, you had to change your password.
OAuth fixed that, but the pass is now the prize. A fake app that gets you to press Allow gets real access. It never needs your password.
If you use apps at home
What could happen: a free photo or quiz app asks to read all your email, and you press Allow without reading.
Check this: open the connected apps page of your main email account and remove anything you do not use.
If you run a small business
What could happen: a tool connected to your shared mailbox or files can read customer details for years after you stop using it.
Check this: keep a short list of the apps connected to business accounts and who asked for each one.
If you look after IT at work
What could happen: staff approve a fake app that looks official, and it quietly reads company data.
Check this: find out who may approve apps for company accounts, and how staff ask for approval.
Next: Phishing for Beginners
If you build apps
What could happen: an app that collects people's passwords for other services puts those passwords at risk.
Check this: use the standard OAuth sign-in steps and ask only for the permissions your app needs.
What does it look like?
Here is a made-up permission screen. It is the kind of screen a fake or greedy app might show you.
Example only. All values are made up.
Sign in with ExampleMail (accounts.example.com) "Photo Fixer Pro" wants to access your account (1) Made by: photofixer.example.invalid (not verified) (2) This will allow Photo Fixer Pro to: Read, compose, send and permanently delete all your email (3) See, edit and delete all your files (3) Account: [email protected] [ Cancel ] [ Allow ] (4)
- The name of the app asking. Any app can choose a friendly name.
- Who made it. "Not verified" means the service has not checked who is behind it.
- The permissions, or scopes. A photo tool has no reason to delete your email.
- The choice. Pressing Allow hands over a pass that can keep working until you remove it or it expires.
Why this is risky: the screen is real, but the app may not be. The permissions are far bigger than resizing a photo needs.
The safer way: press Cancel, or use an app that asks only for what its job needs, such as access to one photo you pick.
How does it work?
OAuth was published in 2012 as an open internet standard.[1] It names four parties: you, the app, the service that signs you in and hands out passes, and the service that holds your data. Often the last two belong to the same company.
The most common pattern is called the authorization code flow. In plain words:
- The app asks. You press "Connect calendar". The app sends you to the calendar company, with a note of what it wants.
- You sign in where you trust. You type your password on the calendar company's own page, not in the app.
- You choose. The permission screen shows the app and what it wants. You press Allow or Cancel.
- The app gets a voucher. Your browser carries a short-lived, one-time code back to the app.
- The app swaps the voucher for a pass. Behind the scenes, the app trades the code for an access token. It may also get a refresh token, which lets it fetch new passes later without asking you again.[1]
- The app uses the pass. Each time it adds an event, it shows the pass. The calendar checks it and allows only what you approved.

Two newer safety rules sit on top of these steps. Apps should add an extra check called PKCE (said "pixie"), so a stolen one-time code is much harder for anyone else to use.[2][3] And the old habit of an app collecting your password itself is now ruled out. The current security advice says it exposes your password and does not work well with two-step sign-in.[2]
Not every use of OAuth involves a person. When one program talks to another with nobody clicking, it can use the client credentials method. The program proves who it is and gets a pass for itself.[1] Many background links between business systems work this way.

A worked example
Maya Patel runs Bramble Lane Bakery, a small made-up bakery. She wants a booking tool, TableTime (a made-up app), to add collection slots to her work calendar.
In TableTime she presses "Connect calendar". Her browser opens her calendar company's sign-in page. She checks the web address, signs in and approves the prompt on her phone.
The permission screen says TableTime wants to see and edit events on her calendars. It does not ask for email or files. That matches the job, so she presses Allow. TableTime swaps its code for a pass and starts adding bookings.
A few months later, an app called Photo Fixer Pro asks to read, send and delete all her email. Maya only wanted to resize product photos. The request is far bigger than the job, so she presses Cancel.
This is not a far-fetched risk. In late 2024, a staff member at the security firm Cyberhaven approved a fake app on a genuine Google sign-in page. That let attackers publish a harmful version of the firm's browser add-on, called an extension.[7] You can read more in our write-up of the Cyberhaven Chrome extension breach.
In the autumn, Maya stops using TableTime. She opens her account's connected apps page and removes it. Her password stays the same, and her other apps keep working. Google, for example, says that once you remove access, "the app can't access your Google Account".[5]
Maya never typed her password into TableTime. She limited what it could do, said no to a greedy app, and cleanly ended access she no longer needed. That is OAuth working as designed.
Myths and mistakes
| What people think | What is true |
|---|---|
| OAuth is a login system. | OAuth answers "what may this app do?", not "who is this person?". "Sign in with..." buttons add OpenID Connect on top of OAuth. |
| Changing my password removes every app. | Not reliably. Passes are separate from your password, so remove unwanted apps from your account's connected apps page. |
| If the screen is on a big brand's site, the app must be safe. | The screen is genuine, but the app asking may not be. You still decide whether to trust it. |
| Two-step sign-in protects me from bad apps. | It protects your sign-in. Once you approve an app, it holds a pass and does not need your second step each time.[7] |
| A pass lasts forever. | Access tokens are often short-lived. Refresh tokens can last much longer, which is why removing old apps matters. |
| OAuth 2.1 has replaced OAuth 2.0. | Not yet. As of November 2026, the community site for the standard describes OAuth 2.1 as work in progress that brings OAuth 2.0 and its common add-ons together.[4] |
What can I do this week?
- Open the connected apps page of your main email, cloud storage and work accounts, and remove anything you do not use or recognise.
- Pause before pressing Allow. Ask who is asking, what they want, and whether it matches the job.
- Remove a suspicious app straight away if you approved one, and tell your IT team if it was a work account.
- Ask who may approve apps at work. Microsoft, for example, recommends letting staff approve only apps from checked, or verified, publishers.[6]
Checklist
- I can say in one sentence how a password and an access token differ.
- I read the app name and permissions on every permission screen before pressing Allow.
- I say no when an app asks for more than its job needs, such as full email access for a photo tool.
- I review connected apps on my main accounts every few months.
- I know where to remove app access at work, and who to tell about a suspicious app.
- Our organisation limits who can approve apps and has a way to ask for approval.
- Any app we build uses the standard OAuth sign-in steps with PKCE and never asks for passwords to other services.[2]
Common questions
Is OAuth safe?
Yes, when set up properly it is much safer than giving apps your password. The risk lies in what you approve. A trustworthy app asking for the right permissions is fine. A fake app, or one asking for far more than its job, is not, so read the screen first.
Does the app see my password?
No. You type your password only on the real service's own page, such as your email provider's sign-in screen. The app receives a limited pass instead. If an app asks you to type your password for another service straight into the app, treat that as a warning sign.
What is the difference between OAuth and OpenID Connect?
OAuth gives an app access to your data. OpenID Connect adds a way to prove who signed in, which is what "Sign in with..." buttons use. The two often appear together, but they answer different questions: what may the app do, and who is this person.
How do I remove an app's access?
Open your account's security or connected apps page, find the app and remove its access. On a Google Account this is the linked apps page, under the option to remove access.[5] Removing the app does not change your password or affect your other apps.
Can software use OAuth without a person?
Yes. With the client credentials method, a program proves its own identity and gets a pass for itself, with no permission screen.[1] These passes are machine credentials, so they need an owner and regular review, like any other secret your organisation holds.
Where next?
Ready for the detail? Read the practitioner guide: OAuth 2.0 vs OIDC: Which to Use for Login and API Access. It covers how access and sign-in differ, the tokens each one issues and when to use which.
Also useful:
- OpenID Connect for Beginners
- OAuth Apps and Integrations for Beginners
- JSON Web Tokens for Beginners
- Identity Federation for Beginners
Related NHI Mgmt Group resources: OAuth 2.0 and OpenID Connect Guide · Consent Phishing and Illicit OAuth Grants Guide · OAuth 2.0 Security Best Current Practice (RFC 9700) Guide · Two-Factor Authentication for Everyone Guide
Key terms
- OAuth 2.0
- A standard way for apps to get limited access to your accounts through passes, without your password.
- OAuth Access Token
- A short-lived pass an app shows to use your data, within the limits you approved.
- Refresh Token
- A longer-lasting pass the app uses only to get new access tokens without asking you again.
- OAuth Scope
- A named permission, such as "see your calendar", that sets what a pass allows.
- OAuth Consent
- Your approval for an app to use your account, which lasts until it is removed.
- The service that signs you in, checks the request and hands out passes.
- PKCE
- An extra check that ties the one-time code to the app that asked for it, so a stolen code is much harder to use.
- Token Revocation
- Cancelling a pass before it would expire, so it stops working.
Sources and further reading
- RFC 6749, The OAuth 2.0 Authorization Framework. Internet Engineering Task Force (IETF), October 2012. https://datatracker.ietf.org/doc/html/rfc6749, accessed 27 Nov 2026.
- RFC 9700, Best Current Practice for OAuth 2.0 Security (BCP 240). Internet Engineering Task Force (IETF), January 2025. https://datatracker.ietf.org/doc/html/rfc9700, accessed 27 Nov 2026.
- RFC 7636, Proof Key for Code Exchange by OAuth Public Clients. Internet Engineering Task Force (IETF), September 2015. https://datatracker.ietf.org/doc/html/rfc7636.
- OAuth 2.0. oauth.net. https://oauth.net/2/, accessed 27 Nov 2026.
- Third-party apps connected to your Google Account. Google Account Help, Google. https://support.google.com/accounts/answer/13533235, accessed 27 Nov 2026.
- Configure how users consent to applications. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-user-consent, accessed 27 Nov 2026.
- New details reveal how hackers hijacked 35 Google Chrome extensions. BleepingComputer, 31 December 2024. https://www.bleepingcomputer.com/news/security/new-details-reveal-how-hackers-hijacked-35-google-chrome-extensions/, accessed 27 Nov 2026.