SuperTokens Blog

Blog cover

October 15, 2024

Authentik Vs. Keycloak: Features and Experience Comparison

This blog compares Authentik and Keycloak, two popular open-source IAM solutions, highlighting their features, security, customization, and scalability. We break down which tool is best suited for different business sizes and needs, including an alternative, SuperTokens, for teams seeking a middle ground.

Blog cover

October 12, 2024

AuthO Vs. Clerk: Features, Pricing, And Pros & Cons

Explore a comprehensive comparison of Auth0 and Clerk, two leading authentication providers. Discover their unique features, pricing, and best use cases to help you choose the right tool for your project

Blog cover

October 10, 2024

Keycloak Vs. Okta: Features, Pricing, And Developer Experience

Choosing the right IAM solution is crucial for security and efficiency. This blog provides a clear comparison between Keycloak and Okta, examining features, customization, pricing, and developer experience. Learn which platform best suits your organization’s needs.

Blog cover

October 07, 2024

Hacktoberfest with SuperTokens

Celebrate Hacktoberfest with SuperTokens, learn how you can contribute to open source auth and get some goodies too!

Blog cover

October 07, 2024

How to use SuperTokens in a VueJS app with your own UI

Learn how to integrate supertokens-web-js SDK into your VueJS application.

Blog cover

September 28, 2024

Best Practices for Enterprise SSO

This guide will dive into what enterprise SSO is and why it’s necessary for modern organizations. It will also provide actionable tips for implementing it effectively

Blog cover

September 25, 2024

How to secure a NestJs Application

In this post, we will be using NestJS, a Node.js framework that excels at making backend development efficient and scalable. Inspired by mature frameworks like Spring and ASP.NET, NestJS brings the best practices from these proven systems into the JavaScript/TypeScript world.

Blog cover

September 20, 2024

What is FIDO

In this post, we’ll take you on a journey through the world of passkeys, breaking down their technical foundations and exploring how they work. We'll also look at the role of the FIDO2 and WebAuthn standards in shaping a future where passwords are no longer needed.

Blog cover

September 18, 2024

SuperTokens Customer Retrospective

A look back at how SuperTokens empowered clients across industries with flexible, secure authentication solutions. Explore key case studies and insights that shaped a year of innovation and success.

Blog cover

September 15, 2024

Anomaly Detection with SuperTokens

Learn about different attack vectors and how to safeguard your web app against them with SuperTokens attack prevention suite

Blog cover

September 10, 2024

7 Top Authelia Alternatives for Enhanced Authentication in 2025?

In this blog, we're going to look at the top 7 alternatives to Authelia. We’ll go over the main features, pricing, pros and cons of each option to help you decide what’s best for your authentication strategy.

Blog cover

September 01, 2024

How to use SuperTokens' pre built UI with VueJS

A step by step guide on how to integrate SuperTokens' pre built UI in a VueJS app

Blog cover

August 20, 2024

Demystifying SAML: A Comprehensive Guide

SAML is an authentication standard created to address the growing need of federated identity. In this blog we go over what SAML is and what makes it special.

Blog cover

August 19, 2024

Securing your Next.js with Authentication

This blog explains how to setup email password and social login with SuperTokens in Next.js.

Blog cover

August 16, 2024

Cookies vs. LocalStorage: Storing Session Data and Beyond

Learn about the best approach and common misconceptions of storing sessions in cookies or browser storage

Blog cover

August 15, 2024

7 Ways To Revoke JWT Tokens

Learn how to maintain a JWT token blacklist / deny list using an in-memory data cache

Blog cover

August 05, 2024

10 Benefits of Multi-Factor Authentication (MFA)

Traditional login mechanisms are plagued by security vulnerabilities and are susceptible to attacks. Multi-factor authentication bolsters security and mitigates a number of these vulnerabilities and has now become an industry standard.

Blog cover

August 02, 2024

What is a JWT? Understanding JSON Web Tokens

Explore JWT tokens: secure, compact credentials for modern web authentication. Learn how they work, their benefits, and best practices for implementing them in your applications.

Blog cover

July 20, 2024

OAuth vs JWT (JSON Web Tokens): An In-Depth Comparison

Explore the key differences between OAuth and JWT in this comprehensive guide. Learn when to use each, their pros and cons, and how they can work together for robust authentication.

Blog cover

July 17, 2024

Self-hosted Authentication

By self-hosting auth users gain finer control over their data.To shed some light on the matter, let’s compare several authentication providers which offer self-hosting functionality

Blog cover

July 15, 2024

Building a login screen with React and Bootstrap

Build an elegant login screen super fast using React and Bootstrap

Blog cover

July 13, 2024

How to Implement a Forgot Password Flow? Complete Guide

What should happen on the backend when a user forgets their password? Read to find a pseudo code implementation of the simplest way to reset passwords securely.

Blog cover

July 11, 2024

Top Auth0 alternatives: Auth0 vs Okta vs Cognito vs SuperTokens [2024]

An in depth review of Auth0 alternatives for 2023: Auth0 vs Okta vs Cognito vs SuperTokens

Blog cover

July 10, 2024

Setting up an authentication form with bootstrap in a Django application

This tutorial wil guide you on how you can setup a bootstrap login template in Django

Blog cover

July 10, 2024

OAuth2.0 vs SAML: The Best Security Protocol For Your App

SAML and OAuth are protocols often used in the authentication but what are the differences between them and which one do you choose?

Blog cover

July 07, 2024

What is Roles-Based Access Control (RBAC)?

Learn about RBAC and advantages + disadvantages compared to ABAC.

Blog cover

July 06, 2024

What is Cross Origin Resource Sharing (CORS)?

Cross-Origin Resource Sharing (CORS) is a mechanism that supports secure requests and data transfers from outside origins (domain, scheme, or port).

Blog cover

July 05, 2024

What is TOTP and why do you need it?

Time based one-time passwords solve a number of issues that plague traditional authentication methods. In this blog we break down TOTP and why it's so useful.

Blog cover

July 02, 2024

Okta Pricing: The Complete Guide [2024]

An in depth guide covering Okta's pricing model

Blog cover

July 01, 2024

Tips for Optimizing Your React App’s Performance

Poor app performance can reduce user engagement and will negatively affect SEO, here are tips to optimize your react app

Blog cover

June 28, 2024

Clerk Alternatives: Ceding vs. Owning UAM Control

An in depth guide covering Auth0's pricing model

Blog cover

June 27, 2024

Frontegg Alternatives For Greater UAM Flexibility & Control

Explore five top Frontegg alternatives for user access management, comparing features, pricing, and setup complexity to find the best fit for your needs. Discover the ideal UAM solution for your project.

Blog cover

June 26, 2024

Auth0 Pricing: The Complete Cost Breakdown [2024]

An in depth guide covering Auth0's pricing model

Blog cover

June 25, 2024

What is Password Hashing and why is it important

A guide on password hashing and salting in different languages and why it's important to do so

Blog cover

June 22, 2024

What is LDAP & How does it work?

In workforce identity and B2B flows, LDAP is main protocol used to interact with directory services that store user identity and device information. In this blog post we take a look at LDAP and how it works.

Blog cover

June 20, 2024

Comparing Keycloak Alternatives For Simpler User Authentication

We explore the differences between SuperTokens and Auth0 including their key features, pros and cons, and practical workflows. Whether you need full control with SuperTokens' self-hosted, open-source approach or the convenience of Auth0's managed service, this guide will help you choose the right authentication solution for your project.

Blog cover

June 16, 2024

Supertokens Vs AuthO: Self-Hosted Vs. Managed Solutions

Explore the core differences between SuperTokens and Auth0 including their key features, pros and cons, and practical workflows. Whether you need full control with SuperTokens' self-hosted, open-source approach or the convenience of Auth0's managed service, this guide will help you choose the right authentication solution for your project.

Blog cover

June 12, 2024

Supertokens Vs Keycloak: Going Custom Vs. Off-The-Shelf

Explore a high level comparison between two popular open-source authentication solutions, SuperTokens and Keycloak. This blog covers their key differences in architecture, configuration, UI, customizability, enterprise readiness, and more. Learn the advantages and disadvantages of each to determine which solution best fits your application's needs.

Blog cover

June 10, 2024

Features, Pricing, & Flexibility: Comparing AuthO Alternatives

This blog explores alternatives to Auth0, a leading IAM platform, highlighting options like SuperTokens, Okta, Firebase Authentication, AWS Cognito, FusionAuth, and Keycloak. It discusses key considerations such as pricing, customization, scalability, and integration, helping you choose the best authentication solution for your needs.

Blog cover

June 06, 2024

Stytch Alternatives For More Flexible User Access

This blog explores top Stytch alternatives for user access management, including SuperTokens, Auth0, and Firebase Authentication. We compare their features, flexibility, and pricing to help you choose the right solution. We also discuss open-source vs. proprietary systems and the benefits of building a custom security flow vs. using ready-made software.

Blog cover

June 04, 2024

Cognito Alternatives: Access Services That Pair With Any Set-Up

In this blog, we evaluate Amazon Cognito and compare it with five leading alternatives: SuperTokens, Clerk, Auth0, Stytch, and Frontegg. We'll cover pricing, setup complexity, data migration, and security features. Additionally, we discuss the benefits of open-source authentication and the choice between customized and out-of-the-box solutions. This guide helps you find the best user management solution for your needs.

Blog cover

June 03, 2024

AWS Cognito Pricing: The Complete Guide [2024]

An in depth guide covering AWS Cognito's pricing model

Blog cover

June 01, 2024

Clerk Vs SuperTokens: Custom Vs Ready-To-Use Access Protocol

Explore the differences between SuperTokens and Clerk to determine the best user access management solution for your project. Understand their core functionalities, key differences, and pricing to make an informed decision.

Blog cover

May 26, 2024

How To Use OIDC Tokens For More Efficient & Secure Login

Discover how to leverage OpenID Connect (OIDC) tokens to enhance your application's security without compromising user experience.Learn how to balance robust security measures with seamless user interactions, and get practical tips for integrating OIDC tokens into your authentication flow.

Blog cover

May 24, 2024

How the Heck Does OAuth Work?

In this blog we do a detailed technical overview of OAuth, explaining its evolution, various flows, and practical applications. It includes diagrams and real-world examples to enhance understanding.

Blog cover

May 17, 2024

Choosing The Right OAuth Grant Types For Your User

Discover the ins and outs of OAuth grant types and learn how to implement secure, user-friendly authentication flows. This comprehensive guide covers the different OAuth grant types, their best use cases, and practical tips for customizing your authorization flow.

Blog cover

May 16, 2024

Understanding & Using OAuth Tokens For Easy & Secure Login

Explore OAuth tokens in web security, their types, benefits, and best practices. Learn to implement and customize OAuth flows for optimal security and user experience.

Blog cover

May 14, 2024

What is OAuth and It's Importance in a Secure Web

Through this blog we hope to show you what OAuth is, explain how it works, and give you a sense of how OAuth can help your application.

Blog cover

May 12, 2024

Simplify User Access & Lift Conversions With Social Login

Social login is an authentication method that allows users to log in using their existing login information from social network providers saving the user the effort of creating a new account for the app or website and remembering an extra password.

Blog cover

May 09, 2024

2FA Authentication Providers

Passwords are not enough. Modern methods of attack have made passwords vulnerable to be stolen, this is where methods of enhancing security like 2FA and MFA come in

Blog cover

May 07, 2024

How To Streamline Access With Passwordless Authentication

A quick overview on how passwordless authentication can help streamline the login experience and increase user conversions

Blog cover

May 06, 2024

Balance Security & UX With Token Based Authentication

By minimizing the risk of credential theft, token based authentication grants users access to resources without the need to re-authenticate. In this blog we explore the balance between security and UX with Token Based Authentication

Blog cover

May 05, 2024

Best Single Sign-On Solutions for 2024

Discover the benefits and key features of Single Sign-On (SSO). Learn how SSO simplifies user experiences, enhances security, and meets enterprise needs. Explore popular SSO protocols like OAuth, SAML, and OpenID Connect, and compare top SSO providers

Blog cover

May 04, 2024

When & How To Build SSO Authentication For User Access

Learn how Single Sign-On (SSO) authentication simplifies user access to multiple applications with a single login, enhancing both security and user experience. Explore the benefits, protocols, and key differences between SSO and 2FA to optimize your authentication strategy.

Blog cover

May 01, 2024

Understanding Transport layer Security

In this article we explore TLS, it's vulnerabilities, and how to secure web communications against cyber threats

Blog cover

April 27, 2024

What is CSRF (Cross Site Request Forgery)

In this article we deep dive into the world of CSRF attacks, what they are and how to protect your application against them

Blog cover

April 18, 2024

2FA & MFA: Enhancing Security Without Compromising User Experience

Traditional authentication methods like email-password auth are the most at risk of being compromised during cyber attacks. However, overly complex authentication methods can frustrate users and hinder product adoption. In this blog we breakdown the pros and cons of adopting 2fa and mfa auth strategies

Blog cover

April 12, 2024

Types Of Authentication: Your Network Security Options

Although Password-based authentication is one of the most common authentication methods, they are the most at risk of being compromised during cyber attacks. In this blog we break down the types of authentication and how to choose the right type of authentication

Blog cover

April 10, 2024

Passkey Authentication: What Is It & How to Implement It

Discover the power of passkey authentication: a secure, user-friendly alternative to traditional passwords. Learn how passkeys work, their benefits over passwordless methods, and best practices for implementation to enhance your application's security and user experience.

Blog cover

April 05, 2024

Everything You Need to Know About 502 Bad Gateway Errors

Discover the ins and outs of 502 Bad Gateway Errors. From understanding the causes to troubleshooting steps and preventive measures, navigate through server communication breakdowns seamlessly.

Blog cover

April 03, 2024

OpenID Connect vs OAuth2: The Differences and How to Choose

Authentication and Authorization are the cornerstone of most modern software, but, these concepts are often misunderstood. In this blog we try to demystify those concepts and the accepted standards embodying them, that is OpenID Connect and OAuth 2

Blog cover

March 20, 2024

FedCM and how OAuth Flows are affected in the Post-Third-Party Cookie Era

Third Party Cookies have been synonymous with user tracking and privacy issues. In 2021 Google put forth a plan to retire third party cookies from chromium based browsers and put for the FedCM APIs. In this blog we will be discussing this change and what it means for traditional OAuth flows.

Blog cover

March 13, 2024

Phishing Attacks in 2024

Over the years phishing attacks have become more sophisticated than ever. In this blog we break down how phishing attacks have evolved and how you can safeguard against them

Blog cover

March 07, 2024

The difference between OTP, TOTP and HOTP

One time passwords are a more secure method of authentication. They remedy a number of issues which plague traditional username-password based authentication. But with methods like TOTP and HOTP it can be confusing. In this blog we break down these methods with their benefits and downsides

Blog cover

February 23, 2024

Understanding Authorization code flow with PKCE

Federated identity with OAuth is one of the most popular methods of implementing authentication. It lowers sign-up friction and is more secure than other auth methods like email-password based authentication.

Blog cover

February 20, 2024

All You Need To Know About the Zero Trust Model

Zero Trust is an IT security model that emphasizes identity verification for every person or device trying to access resources on a private network. In this blog we go over it's core principles and practical benefits.

Blog cover

February 16, 2024

What is SCIM Provisioning?

Managing identities can be a pain, in the past administrators would have to manually add identifying information needed by applications about users. This process takes longer and has a high margin of error. SCIM streamlines the management of user groups and devices. In this blog we will explore how it works.

Blog cover

February 13, 2024

What is Credential Stuffing?

Most people are familiar with brute force attacks, where attackers attempt to guess passwords using characters at random paired with common password suggestions, but what is Credential Stuffing? In this we will go over this type of attack and how you can safeguard against it.

Blog cover

January 30, 2024

Navigating the Complex World of CAPTCHA Technology in Authentication

What is Captcha? Why is it needed? In this blog we will answer these questions and more

Blog cover

January 17, 2024

Unveiling the Intricacies of Local Storage and Session Storage

In this blog we delve into the workings of Local and Session storage breaking down the nuances that set them apart

Blog cover

December 11, 2023

Access Control for modern web applications

Access control plays a key role in protecting our data as we progressively move into an online society. In this blog we will explore the different types of access control and how they safeguard against attackers.

Blog cover

December 01, 2023

Multi-Tenant Authentication in 2024

Multi-tenant systems allow a single instance of a software application to serve multiple different tenants. This allows for a number of benefits that will be explored in this blog

Blog cover

October 01, 2023

How we used multi-tenancy to cut our AWS costs by 50%

Part 2 in a series of howe we were able to cut down our AWS infrastructure costs by more than 50%

Blog cover

September 28, 2023

How to create an invite-only auth flow in 2023

Invite only flows can drive exclusivity and enhance user engagement. In this blog we will go over how you can customize SuperTokens authentication to create an invite only flow

Blog cover

September 19, 2023

How we cut our AWS costs by more than 50%

Part 1 in a series of how we were able to cut down our AWS infrastructure costs by more than 50%

Blog cover

September 01, 2023

Demystifying HTTP Error Codes 401 vs 403

In this blog we will go over the http protocol error codes 401 and 403 and describe when is it appropriate to use each of them.

Blog cover

August 16, 2023

URI vs URL: The real difference between the two

In this blog we break down the differences between URL, URI, and URN

Blog cover

August 12, 2023

Why did HashiCorp adopt the Business Source License?

What is the Business Source License and why did HashiCorp adopt it?

Blog cover

August 08, 2023

Understanding JWKS (JSON Web Key Set)

JWKS are an important part of the authentication process. In this article we go over what they are and how they are used

Blog cover

August 02, 2023

Authentication vs Authorization: What's the difference?

Authentication and Authorization represent two fundamentally different aspects of security that work together in order to protect sensitive information. In this blog, we will go over some of the key differences between the two.

Blog cover

July 12, 2023

Migrating users without downtime in your service (The Lazy Migration Strategy)

User Migration can be a challenging process, in this article we go over some user migration scenarios and break down the lazy migration strategy

Blog cover

June 23, 2023

How we built a Chatbot that is an Expert at SuperTokens

Learn how we built a Q&A bot that is an expert at SuperTokens powered by ChatGPT

Blog cover

June 08, 2023

Ory vs Keycloak vs SuperTokens

Comparing the three leading open-source authentication providers - Ory, Keycloak and SuperTokens

Blog cover

April 17, 2023

OIDC vs OAuth

We break down the OIDC and OAuth standards and explain the key differences between the two

Blog cover

April 17, 2023

Testing SSO Implementation

A guide into single sign-on implementation and how to perform sso testing for authentication and login

Blog cover

March 16, 2023

Learnings from Revamping SuperTokens

A #buildinpublic piece on why we designed the SuperTokens homepage

Blog cover

February 24, 2023

Implementing the right Email Verification flow

Email verification can increase friction and adds another stop to onboarding, but when done correctly can lead to better security and establish better communication with users.

Blog cover

February 23, 2023

A Guide to Implementing Passwordless Login

Passwordless is one of the most popular authentication methods

Blog cover

January 16, 2023

Creating Great Authentication Experiences with Custom UI

A guide on creating great authentication experiences with custom UI

Blog cover

January 11, 2023

What do pre-built authentication UIs look like?

A comparison of the pre-built UIs from current authentication providers and how to customize them

Blog cover

January 09, 2023

SuperTokens 2022 Year in Review

2022 had been an amazing year for SuperTokens, here are some of the top highlights

Blog cover

October 27, 2022

Introducing User Roles Authorization with SuperTokens

With user roles, you can now use SuperTokens to easily attach a different set of permissions to each user.

Blog cover

September 12, 2022

Protecting your Supabase app with SuperTokens authentication.

When building an app with Supabase you will have to choose an authentication solution. Here are some reasons why you should choose SuperTokens as you auth provider and why it pairs so well with Supabase

Blog cover

April 24, 2022

How to connect SuperTokens to a MySQL or to a PostgreSQL database

Learn how to connect a self-hosted SuperTokens core to a database with or without Docker

Blog cover

April 14, 2022

How to deploy SuperTokens with React and NodeJS on Vercel

This tutorial wil guide you on how to add SuperTokens to a React and Express app deployed on Vercel

Blog cover

February 09, 2022

How to Set up Social and Email Password Login With ReactJS in 10 Minute

In this blog, we'll walk you through setting up an email-password authentication with popular social providers like Google, GitHub, and Apple using SuperTokens on a ReactJS application with ExpressJS as the backend.

Blog cover

January 26, 2022

Adding social login to your website with SuperTokens (custom UI only)

This blog walks you through integrating your frontend with social login APIs provided by SuperTokens.

Blog cover

December 13, 2021

How to customise SuperTokens APIs

Any auth solution must provide the ability to customise their APIs. In this blog we discuss how to customise the auth APIs provided by SuperTokens using its “Override” feature

Blog cover

November 11, 2021

Why is redux state immutable?

This blog covers an analysis of why redux state is immutable and how you should go about modifying state in your Redux applications

Blog cover

November 10, 2021

Solve the problem of vendor lock-in

What is vendor lock-in? How does it affect your customers? What are the different ways you can minimize it? Read the blog to learn more.

Blog cover

March 05, 2021

The real reason Okta spent $6.5B on Auth0

Why did Okta spend $6.5B on Auth0? What does this mean for app developers? See reactions from customers and employees

Blog cover

December 10, 2020

Speed up your web development time by integrating Webflow into a React application

Writing JSX to build pixel perfect UI elements can be very time consuming and frustrating. Learn how react engineers can inject complex elements / React components into a Webflow generated HTML page.

Blog cover

July 30, 2020

Detecting session hijacking using rotating refresh tokens - OSW 2020

Session hijacking is one of the oldest, yet unsolved, attack vectors to gain unauthorised access to a user’s account. This discussion is regarding a method called "rotating refresh tokens" to better detect token theft.

Blog cover

June 11, 2020

Express-session vs SuperTokens for handling user sessions

This article will be comparing SuperTokens to Node’s most popular session management library– express-session. Learn more about the comparison based on different security and performance metrics.

Blog cover

May 06, 2020

Should you use Express-session for your production app?

Being Node’s most popular session management library, express-session has its set of flaws– especially when it comes to security. This article will help you analyse the good and bad parts of it.

Blog cover

April 24, 2020

OAuth 2.0 vs Session Management

A lot of developers confuse OAuth with web session management and hence end up using the wrong protocol. This article will clarify when to use what solution.

Blog cover

March 18, 2020

Are you using JWTs for user sessions in the correct way?

JWTs were originally designed for use in OAuth. This article covers the pros and cons of using JWT and talks about a solution which has the advantages of JWTs without any of its disadvantages.

Blog cover

June 08, 2019

The best way to securely manage user sessions

This blog covers an analysis of a new open source session flow that is secure and easy to integrate. Learn more about the customizable library and its implementation details.

Blog cover

June 07, 2019

All you need to know about user session security

This article covers extensive conversations with over 70+ developers exploring different session management practices, identifying issues and converging on a solution to these issues.