DELAPARRA
Index
Color
NL
Category: Core glossary

OAuth (Open Authorisation)

Explained by Updated

What is OAuth (Open Authorisation)?

OAuth (Open Authorisation): A standard protocol that lets users grant third-party applications limited access to their resources without sharing passwords. The scheme behind "Sign in with Google". OAuth is a standard that lets users give an application limited access to their account elsewhere, without sharing their password. "Sign in with Google" and an app asking to read your calendar both use it.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about OAuth (Open Authorisation)

How is OAuth (Open Authorisation) used in practice?

The user logs in at the provider, approves the requested permissions, and the application receives a token with exactly those rights. The user can revoke the token later without changing their password.

What should you keep in mind with OAuth (Open Authorisation)?

OAuth 2.0 covers authorisation; OpenID Connect adds a standard way to learn who the user is, which is what login buttons rely on. Use a well-tested library or framework package, such as Laravel Socialite or Passport, rather than implementing the flows yourself. Request only the scopes you need, store tokens securely, and use the authorization code flow with PKCE for apps running in browsers or on phones.

At a glance

CategoryCore glossary
Explained by
Updated

More Core glossary terms

All terms starting with O

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.