StackPractices

Tag: auth

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

Authentication and Authorization

Authentication verifies identity, while authorization controls access. Both are essential for application security.

The resources below cover OAuth, OIDC, RBAC, and tokens. Each guide helps you secure access to applications.

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.

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...

Two-Factor Authentication (2FA / TOTP)

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