Skip to main content

20 posts tagged with "authorization"

View All Tags

Keycloak vs. Auth0: The Open-Source Alternative (2026 Guide)

· 10 min read
Phase Two
Hosted Keycloak and Keycloak Support

Keycloak vs. Auth0: Choosing an Open-Source Alternative for Authentication

Last updated: 2026 — pricing and feature comparisons reflect Auth0's current published plans.

When it comes to implementing authentication and authorization in web applications, Auth0 and Keycloak are two prominent solutions that offer robust security features. Auth0 is a popular, fully managed cloud platform; Keycloak is an open-source alternative that competes strongly on cost, control, and flexibility. This post compares the two across cost of ownership, architecture and deployment, maintenance, functionality, and support — and explains why pairing Keycloak with a managed host like Phase Two often gives you the best of both.

Securing SvelteKit Apps with Keycloak

· 2 min read
Phase Two
Hosted Keycloak and Keycloak Support

In this article we'll be using Keycloak to quickly secure a SvelteKit application with user management and single sign on (SSO) using the open source IAMs Keycloak for Authentication and Authorization. We will demonstrate the integration by securing a page for logged-in users. This quickly provides a jump-off point to more complex integrations.

Securing Remix Apps with Keycloak

· 2 min read
Phase Two
Hosted Keycloak and Keycloak Support

In this article we'll be using Keycloak to quickly secure a Remix application with user management and single sign on (SSO) using the open source IAMs Keycloak for Authentication and Authorization. We will demonstrate the integration by securing a page for logged-in users. This quickly provides a jump-off point to more complex integrations.

Securing Vue Apps with Keycloak

· 2 min read
Phase Two
Hosted Keycloak and Keycloak Support

In this article we'll be using Keycloak to quickly secure a Vue application with user management and single sign on (SSO) using the open source IAMs Keycloak for Authentication and Authorization. We will demonstrate the integration by securing a page for logged-in users. This quickly provides a jump-off point to more complex integrations.

Securing Nuxt Apps with Keycloak

· 8 min read
Phase Two
Hosted Keycloak and Keycloak Support

In this article we'll be using Keycloak to quickly secure a Nuxt application with user management and single sign on (SSO) using the open source IAMs Keycloak for Authentication and Authorization. We will demonstrate the integration by securing a page for logged-in users. This quickly provides a jump-off point to more complex integrations.

Securing Next.js Apps with Keycloak

· 4 min read
Phase Two
Hosted Keycloak and Keycloak Support

In this article we'll be using Keycloak to to quickly secure a Next.js application with user management and single sign on (SSO) using the open source IAMs Keycloak for Authentication and Authorization. We will demonstrate the integration by securing a page for logged-in users. This quickly provides a jump-off point to more complex integrations.

Open Source User Management, SSO, and Secure Pages for ReactJS

· 4 min read
Phase Two
Hosted Keycloak and Keycloak Support

In this article we'll be using Keycloak to quickly augment an application with user management and single sign on (SSO) using the open source Identity and Access Management System (IAM) Keycloak for Authentication and Authorization. We will demonstrate the integration by securing a page for logged-in users. This quickly provides a jump-off point to more complex integrations.

Secure Your Application With Keycloak

· 7 min read
Phase Two
Hosted Keycloak and Keycloak Support

There are a lot of guides out there, official and unofficial, for how to secure applications with Keycloak. The subject is rather broad, so it's difficult to know where to start. To begin, we'll be focusing on Keycloak's use of OpenID Connect (OIDC), and how to use that standard, along with some helpful libraries, to secure a simple but instructive application.

For the purposes of the sample, we'll actually be using two common applications, a frontend single-page application (SPA) written in JavaScript, and a backend REST API written for Node.js. The language we selected for the sample is JavaScript, but the principles apply no matter the implementation technology you choose.