Resource Center

Engineering

Stay updated with the latest best practices, product updates, and expert tips on building secure, seamless user experiences with Authgear.

HTTP 502 Bad Gateway: What It Means and How to Fix It
Engineering

HTTP 502 Bad Gateway: What It Means and How to Fix It

A 502 Bad Gateway error means the server acting as a gateway or proxy received an invalid response from an upstream server. Here is what causes it and how to fix it.

Mar 13, 2026
Webhooks vs APIs: What's the Difference?
Engineering

Webhooks vs APIs: What's the Difference?

Most products today integrate with payment platforms, identity providers, messaging services, and analytics tools. Two communication models power the majority of these integrations: APIs and webhooks.

Mar 13, 2026
How To Implement Passkeys with WebAuthn: Complete Developer Guide
Engineering

How To Implement Passkeys with WebAuthn: Complete Developer Guide

A practical developer guide to passkey authentication and WebAuthn. Covers how passkeys work, registration and login flows, JavaScript code examples, best practices, and testing tips.

Mar 13, 2026
What Is .well-known/openid-configuration? A Developer's Guide
Engineering

What Is .well-known/openid-configuration? A Developer's Guide

Learn what .well-known/openid-configuration is, what every field in the discovery document means, and how to fetch it for Google, Okta, Azure, Keycloak, or your own OIDC provider.

Mar 5, 2026
SSL vs TLS: What's the Difference and Why It Matters
Engineering

SSL vs TLS: What's the Difference and Why It Matters

SSL is deprecated and TLS is what your server actually uses — but why does everyone still call it SSL? Learn the history, the attacks that killed SSL, and what changed.

Mar 5, 2026
What Is an SSL Certificate? A Developer's Guide
Engineering

What Is an SSL Certificate? A Developer's Guide

An SSL certificate does two things: encrypts your connection and verifies your server's identity. Learn how it works, the 3 certificate types, and what's inside one.

Mar 5, 2026
SSL Certificate Chain: What It Is and How to Fix It
Engineering

SSL Certificate Chain: What It Is and How to Fix It

A missing intermediate certificate is the most common SSL misconfiguration. Learn what a certificate chain is and how to fix a broken one on Nginx, Apache, or Caddy.

Mar 5, 2026
Passwordless Authentication: Magic Links vs Passkeys vs OTP
Engineering

Passwordless Authentication: Magic Links vs Passkeys vs OTP

Passwords are one of the biggest security liabilities in modern software. Passwordless authentication replaces them with magic links, passkeys, and OTPs—methods that are faster, easier, and harder to compromise. This guide explains how each works, when to use them, and what to watch for during implementation.

Feb 24, 2026
OAuth 2.0 Security Best Practices: PKCE, State Parameters & More
Engineering

OAuth 2.0 Security Best Practices: PKCE, State Parameters & More

OAuth 2.0 is a widely adopted framework that lets applications access user resources safely, without ever exposing passwords or credentials. This guide breaks down OAuth 2.0 security in practical terms—covering PKCE, state parameters, token management, and more—to help you build secure, production-ready authorization systems.

Feb 24, 2026
JWT Security Explained: Best Practices and Common Vulnerabilities
Engineering

JWT Security Explained: Best Practices and Common Vulnerabilities

JSON Web Tokens (JWTs) are widely used for authentication and authorization because they let systems verify requests without relying on centralized session storage. This guide explains JWT security in practical terms—covering how they work, common vulnerabilities, and best practices for using them safely in production.

Feb 24, 2026
Generating IDs In Distributed Systems: Why UUIDv7 Beats Centralized ID Services
Engineering

Generating IDs In Distributed Systems: Why UUIDv7 Beats Centralized ID Services

Learn why UUIDv7 is a better choice than centralized ID services in distributed systems. Explore scalability, performance, ordering, and operational trade-offs.

Feb 12, 2026
Choosing The Right UUID Version: v1, v4, v6, Or v7
Engineering

Choosing The Right UUID Version: v1, v4, v6, Or v7

Learn the differences between UUIDv1, UUIDv4, UUIDv6, and UUIDv7, and how to choose the right UUID version for performance, ordering, and privacy.

Feb 11, 2026
Time-Sortable Identifiers Explained: UUIDv7, ULID, and Snowflake Compared
Engineering

Time-Sortable Identifiers Explained: UUIDv7, ULID, and Snowflake Compared

Learn how UUIDv7, ULID, and Snowflake IDs work, how they differ, and when to use each for scalable, time-ordered, distributed systems.

Feb 9, 2026
SAML Token Example: What’s Inside a SAML Assertion
Engineering

SAML Token Example: What’s Inside a SAML Assertion

Explore a SAML token example and learn what’s inside a SAML assertion, including attributes, authentication statements, signatures, and security elements.

Jan 19, 2026
OIDC Specification Explained: Key Concepts Developers Need
Engineering

OIDC Specification Explained: Key Concepts Developers Need

Understand the OIDC specification with a practical breakdown of flows, tokens, claims, scopes, and endpoints. Learn the key concepts developers actually need to implement secure authentication.

Jan 9, 2026
Common OAuth 2.0 Grant Types and When You Should Use Each One
Engineering

Common OAuth 2.0 Grant Types and When You Should Use Each One

Learn about the most common OAuth 2.0 grant types, how they work, and when to use each one. A practical guide for developers and security teams.

Jan 5, 2026
Demonstrating Proof-of-Possession (DPoP): A Complete Guide for Modern OAuth Security
Engineering

Demonstrating Proof-of-Possession (DPoP): A Complete Guide for Modern OAuth Security

Learn what Demonstrating Proof-of-Possession (DPoP) is, why it’s important for secure APIs, and how to implement it. Includes practical examples for developers.

Dec 10, 2025
Base64 Made Easy: How to Encode and Decode Data
Engineering

Base64 Made Easy: How to Encode and Decode Data

Learn how Base64 encoding works, why it’s used, and how to encode or decode data safely. Includes practical examples and a free online Base64 tool.

Dec 3, 2025
What Is SCIM? SCIM Provisioning Explained (2026)
Engineering

What Is SCIM? SCIM Provisioning Explained (2026)

SCIM is the open standard that automates user provisioning between identity providers and SaaS apps. Learn how SCIM 2.0 works — endpoints, schemas, provisioning flows, and how to implement it securely.

Dec 1, 2025
How Do Authenticator Apps Work?
Engineering

How Do Authenticator Apps Work?

Learn how authenticator apps work: TOTP secrets, QR provisioning, clock drift, recovery codes, and why passkeys (WebAuthn) stop phishing.

Nov 7, 2025
Why HMAC Is Still a Must-Have for API Security in 2025
Engineering

Why HMAC Is Still a Must-Have for API Security in 2025

Discover why HMAC remains the foundation of secure API authentication in 2025. Learn how it protects APIs, prevents tampering, and ensures message integrity.

Oct 6, 2025
Generate & Verify HMAC Signatures in Python, Node.js, Go
Engineering

Generate & Verify HMAC Signatures in Python, Node.js, Go

Learn how to generate and verify HMAC signatures in Python, Node.js, and Go. Secure your API with practical examples, code snippets, and a free online HMAC generator.

Oct 6, 2025
OTP Bypass: How OTP Bots Beat SMS 2FA (+ Fixes)
Engineering

OTP Bypass: How OTP Bots Beat SMS 2FA (+ Fixes)

See how OTP bot apps bypass SMS 2FA and ship fixes fast: adaptive CAPTCHA, entity rate limits, risk scoring, and Authgear fraud protection.

Sep 9, 2025
5 Common TOTP Mistakes Developers Make (and How to Fix Them in 2026)
Engineering

5 Common TOTP Mistakes Developers Make (and How to Fix Them in 2026)

TOTP codes not working in 2026? See the 5 most common mistakes developers make — clock drift, Base32 secrets, RFC 6238 mismatches, and weak verification logic — and how to fix each one with Python and JavaScript code examples.

Aug 27, 2025