Skip to main content

3 posts tagged with "auth0"

View All Tags

Keycloak organization login vs Auth0 and WorkOS

· 8 min read
Razvan Tufisi
Phase Two

Keycloak organization login can replace the tenant-aware login that Auth0 Organizations and WorkOS sell to B2B SaaS platforms. With the open-source Phase Two Keycloak organizations extension, your app asks for a tenant with account_hint=globex, and Keycloak lets the user in only if they are a member of Globex or hold an invitation to it. The rule holds whether they sign in with a password, with Google, through their company's SSO, or through an external identity provider.

We tested four cases on Phase Two Keycloak, in a real browser: the tenant hint across every login method, a contractor who switches tenants, an external IdP with kc_idp_hint, and every way a user gets refused. The screenshots and the video come from that run.

Migrating from Auth0 to Keycloak: a complete walkthrough

· 20 min read
Jeff Patzer
Phase Two

Migrating from Auth0 to Keycloak is three separate jobs wearing one name. Profiles move easily — Auth0's export job gives you newline-delimited JSON and Keycloak's partial-import endpoint takes it. Passwords do not move at all: Auth0 hashes with bcrypt, Keycloak 26.7.4 ships four password-hashing providers and none of them is bcrypt, so you either reset every password or stand up a bridge that verifies against the old hashes on first login. Your Rules and Actions have to be rewritten, because there is no equivalent runtime — some of them become authentication-flow configuration with no code at all, and some become a Java SPI.

The part that costs people a weekend is none of those. It is that Keycloak's admin API answers 201 Created to three different malformed migrations and then quietly loses the data. Everything below was run against Keycloak 26.7.4 on PostgreSQL 16.

Keycloak: An open source alternative to Auth0, WorkOS, Okta, Cognito, ...

· 8 min read
GR Patil
Phase Two

In today's digital landscape, managing user identities and securing access to applications and services is paramount for businesses of all sizes. As the demand for robust identity and access management (IAM) solutions grows, so does the market, with various commercial options vying for attention. When we first started using Keycloak over 7 years ago, we were surprised that there was a relatively unknown, but completely open-source alternative to commercial offerings in the Identity and Access Management market.