Back to Glossary
Security

What is OAuth2?

An authorization framework allowing third-party apps limited access to user accounts.

OAuth2 is an authorization framework that lets users grant third-party applications limited access to their resources without sharing passwords. Common flows: Authorization Code (web apps with user login), Client Credentials (service-to-service), and Device Flow (CLI/TV apps). OAuth2 issues access tokens (for authorization) and refresh tokens (for renewing access). OIDC (OpenID Connect) builds on OAuth2 to add identity (who the user is, via ID Token).

Test your knowledge of OAuth2 and 130 other DevOps concepts