What is OAuth 2.0?

Updated May 6, 2026

Short answer

OAuth 2.0 is an authorization framework for delegated access.

Deep explanation

It allows third-party apps to access resources without sharing credentials using access tokens.

Real-world example

Login with Google or GitHub.

Common mistakes

  • Confusing OAuth with authentication.

Follow-up questions

  • What is OpenID Connect?
  • What are access tokens?

More Web Security interview questions

View all →