Skip to content
  • Software & Technology
    • Custom Software Development
    • Web Application Development
    • Mobile App Development
    • Enterprise Software
    • SaaS Development
    • UI/UX Design
    • API Development & Integrations
    • Cloud Solutions
    • DevOps Services
    AI & Automation
    • AI Development
    • AI Chatbot Development
    • Machine Learning
    • AI Automation
    • Data Analytics & BI
    Cybersecurity & Compliance
    • Managed Cybersecurity
    • Penetration Testing
    • Cloud Security
    • Governance, Risk & Compliance
    Managed IT & BPO
    • Managed IT Services
    • BPO & Customer Operations
    Talent & Teams
    • Dedicated Development Teams
    • IT Staff Augmentation
    • Tech Recruitment
    Case studyMillionsof global users supported on a Web3 streaming platform we architected, scaled and operate.MYCORead case study
    View all services Discuss Your Project
  • Industries

    All industries
    • Fintech & Banking
    • Healthcare
    • Retail & E-commerce
    • Automotive
    • Logistics
    • Education
    • Media & Streaming
    • Startups & SaaS
    • HR Tech
    • Real Estate
    • Insurance
    • Manufacturing
    • Travel & Hospitality
    • Energy & Utilities
    • Telecommunications
    • Legal
    • Government
    • Nonprofit
    • Agriculture
    • Construction
    Fintech & banking400%increase in ENR sales alongside a 50% cost reduction across banking operations.UAE Banking & Fintech InstitutionRead Discuss Your Project
  • Case Studies
  • Company

    About Ability

    Company

    • About Ability
    • How We Work
    • Careers
    • Contact

    Resources

    • Insights
    • Project Estimator
    • Compare Options

    Talk to us

    Austin, Texas HQ · 8 offices worldwide

    • info@abilitytechub.com
    • WhatsApp(opens in a new tab)
    Get a Free Consultation
Get a Free Consultation
Services
Software & Technology
  • Software & Technology overview
  • Custom Software Development
  • Web Application Development
  • Mobile App Development
  • Enterprise Software
  • SaaS Development
  • UI/UX Design
  • API Development & Integrations
  • Cloud Solutions
  • DevOps Services
AI & Automation
  • AI & Automation overview
  • AI Development
  • AI Chatbot Development
  • Machine Learning
  • AI Automation
  • Data Analytics & BI
Cybersecurity & Compliance
  • Cybersecurity & Compliance overview
  • Managed Cybersecurity
  • Penetration Testing
  • Cloud Security
  • Governance, Risk & Compliance
Managed IT & BPO
  • Managed IT & BPO overview
  • Managed IT Services
  • BPO & Customer Operations
Talent & Teams
  • Talent & Teams overview
  • Dedicated Development Teams
  • IT Staff Augmentation
  • Tech Recruitment
All services
Industries
  • Fintech & Banking
  • Healthcare
  • Retail & E-commerce
  • Automotive
  • Logistics
  • Education
  • Media & Streaming
  • Startups & SaaS
  • HR Tech
  • Real Estate
  • Insurance
  • Manufacturing
  • Travel & Hospitality
  • Energy & Utilities
  • Telecommunications
  • Legal
  • Government
  • Nonprofit
  • Agriculture
  • Construction
  • All industries
Case Studies
Company
  • About Ability
  • How We Work
  • Careers
  • Contact
  • Insights
  • Project Estimator
  • Compare Options
Get a Free Consultation

Site footer

Start a project

Have a product to build or a system to modernize?

Tell us what you are working on. A solution architect reviews every inquiry and replies with concrete next steps, not a sales script.

Get a Free ConsultationEstimate a Project

Software development, AI, cybersecurity and dedicated engineering teams for US companies. Building since 2018, headquartered in Austin, Texas.

  • info@abilitytechub.com
  • WhatsApp +1 (203) 491-5276(opens in a new tab)
  • LinkedIn(opens in a new tab)

Services

  • Software & Technology
  • AI & Automation
  • Cybersecurity & Compliance
  • Managed IT & BPO
  • Talent & Teams
  • Custom Software Development
  • AI Development

Industries

  • Fintech & Banking
  • Healthcare
  • Retail & E-commerce
  • Automotive
  • Logistics
  • Education
  • Media & Streaming
  • Startups & SaaS

Company

  • About Ability
  • How We Work
  • Technologies
  • Careers
  • Insights
  • Project Estimator
  • Compare Options
  • Case Studies
  • Contact

Offices

  • Austin, USA(HQ)
  • Lisbon, Portugal
  • Dubai, UAE
  • Karachi, Pakistan
  • Islamabad, Pakistan
  • Dhaka, Bangladesh
  • Cairo, Egypt
  • Casablanca, Morocco

© 2026 Ability TechHub, part of Ability Global. All rights reserved.

  • Privacy Policy
  • Terms & Conditions
  1. Home
  2. Glossary
  3. OAuth

What is OAuth?

OAuth is an open standard for delegated authorization. It lets a user grant an app limited access to their data on another service without sharing their password with that app.

Web & mobile
The same web app on a laptop browser and a phone

Definition

OAuth, explained

OAuth, most commonly used today in its 2.0 form, solves a specific problem: how to let one application act on a user’s behalf at another service without handing over the user’s credentials. When you allow a scheduling tool to read your calendar or let an analytics app pull data from your ad account, OAuth is usually what makes that permission possible and revocable.

The key idea is that the user signs in directly with the service that holds their data, approves a specific set of permissions called scopes, and the requesting app receives an access token rather than a password. OAuth is about authorization, deciding what an app may do. Identity, proving who the user is, is handled by OpenID Connect, a layer built on top of OAuth that powers most Sign in with Google or Microsoft buttons.

Why it matters

  • Users never share their password with third-party apps, which reduces the damage if one of those apps is compromised.
  • Scopes limit what each app can do, following the principle of least privilege.
  • Access can be revoked for one app without changing the user’s password or affecting other apps.
  • It is the common standard for APIs and single sign-on, so integrations work the same way across many providers.
Hand holding a smartphone running an app, with a tablet behind

How it works

How OAuth works

OAuth defines four roles: the resource owner, who is the user; the client, which is the app requesting access; the authorization server, which authenticates the user and issues tokens; and the resource server, the API that holds the data. In many products the authorization and resource servers belong to the same provider, but the standard keeps them separate.

The most common flow is the authorization code flow, used with PKCE for mobile apps, single-page apps and, increasingly, all clients. The app redirects the user to the authorization server with the scopes it wants. The user signs in there and approves the request. The authorization server redirects back to the app with a short-lived code, and the app exchanges that code, together with proof that it started the request, for an access token and often a refresh token.

The app then sends the access token with each API request, usually in the Authorization header. Access tokens are short-lived and limited to the approved scopes. When one expires, the app uses the refresh token to get a new one without asking the user again. Other flows exist for specific cases, such as client credentials for server-to-server access and a device flow for TVs and other devices without a keyboard.

Examples and common mistakes

Examples

  • A user signing in to a SaaS tool with their Google or Microsoft account through OpenID Connect on top of OAuth.
  • A reporting tool requesting read-only access to a company’s accounting or CRM data.
  • A mobile app getting tokens from its own authorization server to call the company’s APIs.
  • A backend service using the client credentials flow to call another internal service without a user involved.

Common mistakes

  • Treating OAuth access tokens as proof of identity. Use OpenID Connect and its ID token when you need to know who the user is.
  • Using outdated flows such as the implicit flow, or skipping PKCE in public clients like mobile and browser apps.
  • Requesting broad scopes up front when the app only needs a few, which erodes user trust and increases risk.
  • Storing tokens insecurely, for example long-lived tokens in browser local storage, or failing to validate redirect URIs strictly.

Keep learning

Related terms

  • JSON Web Token (JWT)A JSON Web Token (JWT) is a compact, signed string that carries claims, such as a user ID and an expiry time, so one system can pass verified information to another.
  • REST APIA REST API is a web API that follows the REST architectural style: it exposes data as resources at URLs and lets clients read and change them with standard HTTP methods such as GET, POST, PUT and DELETE.
  • Application programming interface (API)An application programming interface (API) is a defined set of rules that lets one piece of software request data or actions from another, without needing to know how the other system works inside.
  • Multi-factor authentication (MFA)Multi-factor authentication (MFA) is a sign-in method that requires two or more independent proofs of identity, such as a password plus a phone, security key or fingerprint.
  • Identity and access management (IAM)Identity and access management (IAM) is the set of policies, processes and tools that ensure the right people and systems have the right access to the right resources, and nothing more.

Compare

  • Zero trust vs VPN

Put it into practice

Services that apply this

  • API Development & Integrations

    Well-designed APIs and dependable third-party integrations that connect your products, partners and internal systems.

    Explore service
  • Managed Cybersecurity Services

    Security audits, threat monitoring, incident response and network security delivered as an ongoing, leadership-led managed security program.

    Explore service
  • Web Application Development

    Fast, secure and accessible web applications built with React and Next.js, designed for real users and real traffic.

    Explore service

FAQ

OAuth: common questions

Is OAuth authentication or authorization?

OAuth is an authorization framework: it grants an app permission to access resources. It does not, on its own, tell the app who the user is in a standardized way. OpenID Connect adds that identity layer on top of OAuth, which is why sign-in features usually rely on both.

What is the difference between OAuth and single sign-on?

Single sign-on is the outcome: one login gives access to several applications. OAuth with OpenID Connect is one of the standard ways to achieve it, especially for modern web and mobile apps. SAML is another common SSO standard, widely used in enterprise environments.

Do OAuth tokens have to be JWTs?

No. The OAuth standard does not require a token format. Some authorization servers issue opaque random strings that the API checks by asking the server, and others issue JSON Web Tokens that the API can validate locally. ID tokens in OpenID Connect, however, are always JWTs.

Turning this into a project?

Talk to a solution architect about where it fits in your roadmap.

Talk to an Expert
Ability TechHub team members together in the office