StackPractices

Tag: oauth

Browse 6 practical software engineering resources tagged with "oauth". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving oauth. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

OAuth and Authorization Delegation

OAuth is a standard for delegated authorization. It lets users grant limited access to their resources without sharing passwords.

The resources below cover OAuth 2.0 flows, scopes, tokens, PKCE, and secure implementation. Each guide explains how to add third-party authorization without introducing vulnerabilities.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Secure API Key Authentication for Services and Clients

How to generate, distribute, validate, and rotate API keys for machine-to-machine authentication...

JWT Authentication

How to generate, validate, and refresh JSON Web Tokens for stateless API authentication.

Implement Passwordless Login with Magic Links

How to build secure passwordless authentication using time-limited magic links sent via email, with...

OAuth 2.0 Login

How to implement OAuth 2.0 authentication with Google, GitHub, and other providers.

Implement Secure Session Management

How to create, validate, and expire user sessions securely across web applications using cookies,...

Two-Factor Authentication (2FA / TOTP)

How to implement time-based one-time password (TOTP) two-factor authentication for secure user...