Resource Center

Engineering

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

What is TOTP? A short guide for developers (RFC 6238 explained)
Engineering

What is TOTP? A short guide for developers (RFC 6238 explained)

What is TOTP (Time-based One-Time Password)? A concise RFC 6238 explanation for developers with code examples (Node, Python, Go), troubleshooting tips, and a free online TOTP tool.

Aug 27, 2025
The Complete Guide to Machine-to-Machine (M2M) Authentication — OAuth Client Credentials Flow
Engineering

The Complete Guide to Machine-to-Machine (M2M) Authentication — OAuth Client Credentials Flow

Learn how M2M tokens work, implement OAuth 2.0 Client Credentials, host JWKS, rotate keys, and secure service-to-service authentication with examples in curl, Node, Python, and Go.

Aug 22, 2025 10 min read
What Is JWKS? JSON Web Key Set and JWKS URI Explained
Engineering

What Is JWKS? JSON Web Key Set and JWKS URI Explained

Learn what JWKS is, how JWKS URI works, JWK format examples, and practical tips to generate and manage keys for secure token verification.

Aug 14, 2025 6 min read
JWE vs JWT: Key Differences, Use Cases, and Security Tips
Engineering

JWE vs JWT: Key Differences, Use Cases, and Security Tips

Learn the differences between JWE and JWT, when to use each, and how to secure your tokens. Includes free debugging and key generation tools.

Aug 13, 2025 5 min read
JWT Authentication: A Secure & Scalable Solution for Modern Applications
Engineering

JWT Authentication: A Secure & Scalable Solution for Modern Applications

Learn how JWT authentication works, its pros and cons, and when to use it for secure, scalable applications. Explore alternatives like OAuth, API keys, and SAML for authentication and access management.

Jan 17, 2025
What is Role-Based Access Control (RBAC)? Benefits, Comparisons, and Best Practices
Engineering

What is Role-Based Access Control (RBAC)? Benefits, Comparisons, and Best Practices

Learn everything about role-based access control (RBAC), its benefits, pros and cons, key rules, and comparisons with ABAC and ACL. Discover how Authgear simplifies RBAC for secure and scalable access management.

Dec 6, 2024
PKCE in OAuth 2.0: How to Protect Your API from Attacks
Engineering

PKCE in OAuth 2.0: How to Protect Your API from Attacks

Learn everything you need to know about PKCE, a security extension for OAuth 2.0 that helps protect your API from authorization code interception and other attacks. Discover how PKCE works, its benefits, and best practices for implementation.

Nov 13, 2024
How to Add Authentication to a React Native app in 10 Minutes
Engineering

How to Add Authentication to a React Native app in 10 Minutes

In this we teach how add a full user authentication feature to any React Native application under 10 minutes.

Aug 1, 2024
How Does Biometric Authentication Work? A Comprehensive Guide to the Future of Security
Engineering

How Does Biometric Authentication Work? A Comprehensive Guide to the Future of Security

Discover how biometric authentication works, from fingerprints to facial recognition. Explore the technology, benefits, challenges, and its role in shaping the future of secure identity verification.

Jul 30, 2024
Password Hashing: How to Pick the Right Hashing Function
Engineering

Password Hashing: How to Pick the Right Hashing Function

Almost all popular online services use some form of hash technique to store passwords securely. In this post we cover the different hashing functions, best practices and how to pick the best one for your application and organisation.

Jul 23, 2024
Add Social Login to Your Laravel Project Using any Provider
Engineering

Add Social Login to Your Laravel Project Using any Provider

Social login allows users to log in to your website using their existing account on social sites like Facebook, Twitter (X), and Google. In this post, we show how to implement social login in a Laravel project using any social login provider.

Oct 24, 2023
Defend Against Broken Access Control: Protect Your Application Today
Engineering

Defend Against Broken Access Control: Protect Your Application Today

What is Broken Access Control? Clear examples, API/IDOR scenarios, and a practical prevention checklist (RBAC/ABAC, deny-by-default, testing). Updated for the coming OWASP Top 10 2025.

Aug 31, 2023 4 min read
How OAuth 2.0 Works: A Developer's Guide (2026)
Engineering

How OAuth 2.0 Works: A Developer's Guide (2026)

OAuth 2.0 is the standard behind "Sign in with Google" and every major API. Here's exactly how it works, with diagrams and code.

Aug 30, 2023 8 min read
Authentication for ASP.NET apps with Authgear and OpenID Connect
Engineering

Authentication for ASP.NET apps with Authgear and OpenID Connect

This blog post demonstrates how to add authentication features to ASP.NET apps with Authgear by implementing an OpenID Connect flow.

Aug 15, 2023
Get Notified in Slack for Every New User Sign Up With Authgear
Engineering

Get Notified in Slack for Every New User Sign Up With Authgear

This article will guide you through the process of integrating Authgear's Hooks and Events with Slack to send immediate notifications in Slack when a new user signs up.

Aug 10, 2023
Add Authentication to Any Web Page in 10 Minutes
Engineering

Add Authentication to Any Web Page in 10 Minutes

This post demonstrates how to easily add authentication to any Javascript Single Page Application (SPA) using Authgear.

Aug 4, 2023
How Profile Enrichment can boost your product
Engineering

How Profile Enrichment can boost your product

Explore how enriching user profiles work, their benefits, and how you can enable it using Authgear to boost your product usage by understanding who your customers are.

Jul 28, 2023
Authentication for Spring Boot App with Authgear and OAuth2
Engineering

Authentication for Spring Boot App with Authgear and OAuth2

Learn how to add authentication to your Java Spring Boot application using OAuth2 with Authgear as the Identity Provider.

Jul 12, 2023
Simplifying Authentication Integration For Developers With Authgear SDKs
Engineering

Simplifying Authentication Integration For Developers With Authgear SDKs

Authgear SDK libraries make it easy for developers to integrate and interact with Authgear.

Jul 7, 2023
Password Spraying: What It Is and How to Prevent It?
Engineering

Password Spraying: What It Is and How to Prevent It?

Learn more about password spraying and the different methods to protect your users from it with Authgear.

Feb 2, 2023
What Is Session Management: Threats and Best Practices
Engineering

What Is Session Management: Threats and Best Practices

Session management is the process of handling interactions between a user and a web application. To understand its importance, consider that HTTP, the protocol underlying the web, is stateless. This means each request from a user is treated independently, and the server has no inherent way to remember or track a user's actions across multiple requests. Session management addresses this by creating a session—a series of related user interactions within a specific timeframe. By managing sessions effectively, web applications can maintain user state, personalize experiences, and enhance security. In this article, we'll delve into the complexities of session management, explore potential threats, and provide best practices to safeguard your web application.

Jan 15, 2023
Credential Stuffing: What It Is and How to Prevent It?
Engineering

Credential Stuffing: What It Is and How to Prevent It?

Credential stuffing is a type of cyberattack involving use of stolen credentials and bots to gain access to user accounts. Learn more about it and how to prevent it with Authgear.

Dec 6, 2022
4 Things We Learned Supporting Passkeys
Engineering

4 Things We Learned Supporting Passkeys

Passkeys have the potential to completely replace passwords, but it isn't perfect yet. Learn more about what you might encounter when supporting them.

Aug 29, 2022
From Login to Lockdown: Building Secure Authenticated Applications
Engineering

From Login to Lockdown: Building Secure Authenticated Applications

Master the art of building secure authenticated applications. Learn about authentication methods, access tokens, and implement robust security with Authgear. Your comprehensive guide to safeguarding user data.

Jun 24, 2022