Blog

Choosing an identity platform

Rankings, comparisons and pricing breakdowns of IAM and SSO tools, sourced from each vendor's own pages, and guides to the protocols behind them, written by the team behind Casdoor.

Top lists

Top lists

Microsoft Entra ID alternatives: when to replace it, and what to replace it with

Entra ID costs $7 per user per month for P1 and $10 for P2. The alternatives, Casdoor, Keycloak, Okta, Zitadel, authentik and Logto, compared on price, hosting, data residency and migration.

November 11, 2026 · 6 min read

Top lists

Skycloak alternatives: managed Keycloak, self-hosting and non-Keycloak options

Skycloak starts at $29 per month for managed Keycloak. The alternatives, from self-hosted Keycloak and Cloud-IAM to Phase Two and Casdoor Cloud, compared on price, users, SLA and operations.

November 11, 2026 · 6 min read

Top lists

Active Directory alternatives: what replaces AD, and what does not

Active Directory does four jobs: directory, Kerberos logon, DNS and Group Policy. What Entra ID, Samba, FreeIPA, OpenLDAP, JumpCloud and Casdoor replace, and which one fits your case.

November 8, 2026 · 5 min read

Top lists

Open source LDAP servers: five options and how to choose

OpenLDAP, 389 Directory Server, FreeIPA, Samba AD and Casdoor compared: what each one is, which has a GUI, how to run one in Docker, and when LDAP is not the right tool.

November 8, 2026 · 5 min read

Top lists

Ping Identity alternatives: replacing PingFederate, PingOne and PingDirectory

Ping Identity sells federation, directory and MFA as an enterprise suite. The open-source and cloud alternatives to each piece, and what a migration actually involves.

November 8, 2026 · 4 min read

Top lists

Firebase Authentication alternatives: when the SDK is not enough

Firebase Auth is fast to start with and free up to 50,000 MAU, but it cannot be self-hosted and enterprise SSO is metered. Keycloak, Casdoor, Auth0, Cognito, Supabase and others compared.

November 1, 2026 · 4 min read

Top lists

Free SAML identity providers: what is actually free

Open-source SAML 2.0 identity providers you can run for free, the free tiers of managed services, and what to check before you depend on one in production.

November 1, 2026 · 3 min read

Top lists

MFA methods compared: from SMS codes to phishing-resistant passkeys

TOTP, SMS, email codes, push approvals, passkeys and hardware keys compared on phishing resistance, usability, cost and recovery, with a recommendation for each user group.

November 1, 2026 · 3 min read

Top lists

Open-source identity servers: the realistic shortlist

What an identity server does, the open-source options worth evaluating (Keycloak, Casdoor, authentik, Zitadel, Ory, Logto), their licenses, and what running one actually costs.

November 1, 2026 · 4 min read

Top lists

Azure AD B2C is closed to new customers: the alternatives to evaluate

Microsoft stopped selling Azure AD B2C to new customers in May 2025 and retired the P2 tier in March 2026. Entra External ID, Auth0, Cognito, Keycloak, Casdoor and others compared for CIAM.

October 31, 2026 · 4 min read

Top lists

Free identity providers and SSO in 2026: what you actually get for free

The free tiers of Auth0, Clerk, WorkOS, Cognito, Firebase, Supabase, Entra, Logto, Kinde, Descope, Zitadel and others compared on user limits, enterprise SSO and MFA, plus free open-source IdPs you host yourself.

October 25, 2026 · 5 min read

Top lists

Descope alternatives in 2026: 5 open-source options compared

Open-source alternatives to Descope without MAU or SSO connection caps: Casdoor, Keycloak, authentik, Logto and SuperTokens compared on pricing, login customization and enterprise SSO. Descope's Pro plan starts at $249 per month with 10,000 MAU and 5 SSO connections.

October 21, 2026 · 3 min read

Top lists

Top 5 open-source FusionAuth alternatives in 2026

Truly open-source alternatives to FusionAuth: Casdoor, Keycloak, Zitadel, authentik and Logto compared on license, which features are free, and managed hosting prices.

October 21, 2026 · 3 min read

Top lists

Top 5 open-source Kinde alternatives in 2026

Open-source alternatives to Kinde for SaaS auth, organizations and billing: Casdoor, Logto, Zitadel, SuperTokens and Supabase Auth compared on MAU pricing, enterprise SSO and subscriptions.

October 21, 2026 · 3 min read

Top lists

Top 5 open-source Stytch alternatives in 2026

Open-source alternatives to Stytch for passwordless login and B2B SSO: Casdoor, SuperTokens, Ory, Logto and Supabase Auth compared on pricing, enterprise connections and how much UI you build yourself.

October 21, 2026 · 4 min read

Top lists

WorkOS alternatives in 2026: 5 open-source options compared

Open-source alternatives to WorkOS for B2B SaaS: Casdoor, Ory Polis, Keycloak, Zitadel and Logto compared on SAML/OIDC connections, SCIM and multi-tenancy. WorkOS charges $125 per connection per month; these do not.

October 21, 2026 · 3 min read

Top lists

Top 5 Zitadel alternatives in 2026

Alternatives to Zitadel with permissive licenses or different pricing: Casdoor, Keycloak, authentik, Logto and Ory compared on license, multi-tenancy, protocols and managed hosting.

October 21, 2026 · 3 min read

Top lists

AWS Cognito alternatives in 2026: 5 options compared

Cognito alternatives for teams outgrowing its hosted UI, per-MAU pricing or AWS lock-in: Casdoor, Keycloak, Supabase Auth, Zitadel and Auth0 compared.

October 20, 2026 · 5 min read

Top lists

Clerk alternatives: 5 open-source options compared (2026)

Clerk alternatives for React and Next.js teams: Casdoor, Better Auth, Supabase Auth, Logto and SuperTokens compared on self-hosting, pricing and SSO.

October 20, 2026 · 6 min read

Top lists

Okta alternatives in 2026: 5 open-source options compared

Open-source Okta alternatives compared on SSO, directory sync, MFA, LDAP and RADIUS: Casdoor, Keycloak, authentik, Zitadel and Authelia, plus what Okta costs and how to migrate.

October 20, 2026 · 6 min read

Top lists

Top 10 Auth0 alternatives in 2026

Ten Auth0 alternatives compared on pricing model, free tier, open source and self-hosting: Casdoor, Clerk, WorkOS, Keycloak, FusionAuth, Logto, Zitadel and more.

October 8, 2026 · 7 min read

Top lists

Best open-source IAM and SSO platforms: 10 compared (2026)

The best open-source IAM and SSO platforms compared: Casdoor, Keycloak, authentik, Zitadel, Ory, Logto, Authelia, SuperTokens, Dex and Kanidm.

October 8, 2026 · 8 min read

Top lists

Top 5 managed identity providers with a dedicated instance and no per-user fees

Most auth SaaS bills per monthly active user on shared infrastructure. These five give you your own instance at a flat price: Casdoor Cloud, Skycloak, Phase Two, Cloud-IAM and FusionAuth.

October 8, 2026 · 3 min read

Top lists

Top 5 Keycloak alternatives in 2026

Lighter, easier or managed alternatives to Keycloak: Casdoor, authentik, Zitadel, Ory and FusionAuth compared, plus where to get Keycloak hosted if you want to keep it.

October 8, 2026 · 4 min read

Top lists

Top 5 OAuth authorization servers for MCP servers and AI agents

Which identity providers can secure remote MCP servers under the 2026 MCP authorization spec: WorkOS, Casdoor, Auth0, Descope and Keycloak compared.

October 8, 2026 · 4 min read

Comparisons

Comparisons

LDAP vs SAML: a directory protocol and a browser SSO protocol, compared

LDAP stores and looks up accounts; SAML signs a user in to an application through the browser. The difference, how they work together, and how to choose. Includes LDAP vs SAML vs OAuth.

November 11, 2026 · 6 min read

Comparisons

Okta's free developer plan: 10 users, non-production, and what to use instead

Okta's free developer offering is the Integrator Free Plan: 10 active users, non-production only, deactivated after 180 days of inactivity. Its limits, the paid plans above it, and six alternatives with real production free tiers.

November 11, 2026 · 6 min read

Comparisons

Keycloak vs Auth0: control and cost vs a managed service

Keycloak is Apache-2.0 and free to self-host; Auth0 is managed and free to 25,000 MAU. Compare features, pricing, operations, customization and migration.

November 8, 2026 · 4 min read

Comparisons

Okta vs Auth0: workforce identity vs customer identity

Okta bought Auth0 in 2021, but the two products serve different users. Workforce vs CIAM, pricing from $6 per user to $800 per month plus MAU, and how to choose.

November 8, 2026 · 4 min read

Comparisons

SCIM vs LDAP: one pushes accounts, the other answers directory queries

SCIM is an HTTP and JSON standard for provisioning users and groups into applications. LDAP is a directory protocol for authentication and lookup. Where each fits, and why most stacks need both.

November 5, 2026 · 4 min read

Comparisons

SSO vs SAML: one is a login experience, the other is a protocol

SSO is the capability: one login for many applications. SAML 2.0 is one protocol that delivers it. How the two relate, where OIDC and CAS fit, and which term to use when.

November 5, 2026 · 4 min read

Comparisons

Supabase Auth pricing: what the MAU tiers actually cost

Supabase Auth pricing explained: the 50,000 MAU free tier, Pro and Team plans, MAU overage, SAML SSO charges and the database costs that come with them.

November 2, 2026 · 5 min read

Comparisons

API keys vs OAuth: a static secret is not a session

API keys are simple shared secrets; OAuth tokens are scoped, expiring grants. What each identifies, where each fits, and the key-management practices that keep API keys from becoming the weakest link.

November 1, 2026 · 3 min read

Comparisons

Auth0 pricing in 2026: free tier, MAU tiers and connections

Auth0 is free up to 25,000 MAU with 1 enterprise connection. Essentials starts at $35 per month (B2C) or $150 (B2B), Professional at $240 or $800; the bill then scales by MAU tier and connections.

November 1, 2026 · 4 min read

Comparisons

Cognito pricing: three tiers, two meters and a federated-user surcharge

Amazon Cognito's Lite, Essentials and Plus tiers compared: free tier, per-MAU prices, what each tier unlocks, how federated users are billed, and where the bill grows.

November 1, 2026 · 3 min read

Comparisons

OAuth vs SAML vs OIDC: pick by the job, not by the acronym

A decision guide to the three protocols: OAuth 2.0 for delegated API access, OpenID Connect for login on top of OAuth, and SAML 2.0 for enterprise browser SSO, with a table and a checklist.

November 1, 2026 · 3 min read

Comparisons

Okta pricing in 2026: per-user plans, the $1,500 minimum and the $3,000 platform fee

Okta Workforce costs $6, $14 or $17 per user per month with a $1,500 annual minimum. Customer Identity starts at a $3,000 monthly platform fee, with B2C and B2B suites quoted separately. Both price lists, and how to estimate the bill.

November 1, 2026 · 4 min read

Comparisons

Zitadel pricing: what 25,000 daily active users actually means

Zitadel's Free, Pro and Enterprise plans, how DAU differs from MAU, what 25,000 DAU includes, and how the bill compares with Casdoor's flat-price instance.

October 31, 2026 · 5 min read

Comparisons

Zitadel vs authentik: which open-source identity provider fits?

Zitadel and authentik compared on license (AGPL-3.0 vs MIT with an enterprise edition), pricing and how Zitadel counts daily active users, protocols, multi-tenancy, extensibility and what it takes to self-host each.

October 25, 2026 · 6 min read

Comparisons

SAML identity providers compared: commercial and open-source options

Okta, Microsoft Entra ID, Auth0 and Google Workspace compared with Casdoor, Keycloak, authentik, Zitadel, Shibboleth and SimpleSAMLphp: hosting, protocols, admin console and pricing model.

October 20, 2026 · 6 min read

Comparisons

Auth pricing compared: free tiers, 100,000 users and API calls

What Auth0, Clerk, WorkOS, Amazon Cognito, Supabase, Zitadel, Logto, Stytch and Casdoor charge for login, free tiers, enterprise SSO, directory sync and machine-to-machine tokens, with worked examples.

October 8, 2026 · 9 min read

Comparisons

Casdoor vs Keycloak vs authentik vs Zitadel: which open-source IdP?

A side-by-side comparison of the four most popular self-hostable identity providers: license, stack, protocols, authorization, multi-tenancy and managed hosting.

October 8, 2026 · 3 min read

Guides

Guides

Managed Keycloak hosting: what you pay for, what it costs, and when self-hosting wins

Keycloak is free, but running it is not. What managed Keycloak providers do, what they charge (Skycloak, Cloud-IAM, Phase Two), when self-hosting is cheaper, and the checklist to use before signing.

November 11, 2026 · 5 min read

Guides

Active Directory SSO: how AD users get single sign-on

Active Directory does not speak SAML or OIDC by itself. The three ways to add SSO: sync AD to Entra ID, federate with AD FS, or put an identity provider such as Casdoor in front of your apps.

November 8, 2026 · 4 min read

Guides

Google Workspace SSO: signing in to Google, and signing in with Google

Google Workspace SSO has two directions: a third-party IdP signing users in to Google, and Google acting as the SAML IdP for your apps. The setup, attribute mapping and common errors.

November 8, 2026 · 4 min read

Guides

Keycloak with Docker Compose: from start-dev to production

A working Docker Compose setup for Keycloak and PostgreSQL: the environment variables, health checks, reverse proxy settings, realm import and the mistakes that break production.

November 8, 2026 · 4 min read

Guides

OAuth2 Proxy: put an OIDC login in front of any application

How oauth2-proxy works as a reverse proxy that adds OpenID Connect SSO to apps with no authentication, with Casdoor as the provider: flags, callback URL, identity headers and common errors.

November 8, 2026 · 3 min read

Guides

RADIUS server: what it does, which ports it uses, and how to run one

RADIUS explained: UDP 1812 and 1813, the 802.1X flow, PAP versus EAP, FreeRADIUS and Windows NPS, the shared secret, and how to fix "RADIUS server is not responding".

November 8, 2026 · 4 min read

Guides

Microsoft Entra ID SSO: the enterprise app setup, field by field

How Microsoft Entra ID single sign-on works: federation with SAML 2.0 or OIDC, the enterprise application fields, certificates and claims, application registration, and the errors that break sign-in.

November 7, 2026 · 4 min read

Guides

Keycloak SSO: realms, clients and the settings that decide how long users stay signed in

Keycloak single sign-on explained: realms and clients, OIDC and SAML client setup, SSO session idle and maximum lifetime, identity brokering, and the settings that cause unexpected logouts.

November 7, 2026 · 5 min read

Guides

LDAP authentication: how it works, bind methods, and why it fails

LDAP authentication explained: the bind operation, DN and password checks, simple vs SASL binds, LDAPS and StartTLS, Active Directory specifics, and the result codes that show up in logs.

November 7, 2026 · 5 min read

Guides

Okta SSO: what the admin configures, and what your app has to support

Okta single sign-on explained: Okta as the identity provider, SAML 2.0 and OIDC app integrations, the metadata your application needs, user assignment, and the failures that break sign-in.

November 7, 2026 · 4 min read

Guides

SAML SSO: what it is, how the login flow works, and how to set it up

SAML SSO explained: the identity provider and service provider roles, the AuthnRequest and assertion flow, metadata and certificates, a setup checklist, and the errors that break production logins.

November 7, 2026 · 6 min read

Guides

OAuth alternatives: the protocols people use instead, and when each one fits

OAuth 2.0 is for delegated access, not login by itself. The alternatives, from OIDC and SAML to CAS, LDAP, Kerberos, API keys and mTLS, and the job each one actually solves.

November 5, 2026 · 5 min read

Guides

Jira Cloud SSO: the SAML values Atlassian expects, and how to wire them up

Jira Cloud uses SAML 2.0 through Atlassian Guard Standard. The per-organization ACS URL and entity ID, the NameID and attribute rules, SCIM provisioning, and the Casdoor side of the setup.

November 5, 2026 · 5 min read

Guides

MCP authorization: how OAuth 2.1 protects Model Context Protocol servers

The MCP authorization spec in practice: the 401 and protected-resource metadata flow, authorization server discovery, dynamic client registration, PKCE, and the resource parameter that binds a token to one MCP server.

November 5, 2026 · 4 min read

Guides

Dynamic client registration: letting clients register themselves, safely

How RFC 7591 dynamic client registration works, what MCP and AI clients need, how to validate redirect URIs, and when CIMD is the better choice.

November 3, 2026 · 5 min read

Guides

The implicit flow is deprecated: migrating to code flow with PKCE

Why OAuth removed the implicit flow, what breaks when tokens arrive in the URL fragment, and how to move single-page, native and TV apps to code flow with PKCE.

November 3, 2026 · 5 min read

Guides

OIDC discovery: the document every OIDC client reads first

How OpenID Connect discovery works, the issuer rules that break integrations, the fields clients actually use, and how to debug a discovery error.

November 3, 2026 · 5 min read

Guides

SAML NameID: choosing an identifier that survives email changes

What the SAML NameID is, how persistent, transient, email and unspecified formats differ, what service providers request, and how to set the value in Casdoor.

November 3, 2026 · 6 min read

Guides

Token introspection and revocation: handling tokens you cannot validate offline

RFC 7662 introspection and RFC 7009 revocation in practice: the request and response fields, when to introspect, how to cache, and how Casdoor implements both.

November 3, 2026 · 5 min read

Guides

GitLab SSO: OpenID Connect for a self-managed instance

Configure GitLab single sign-on with OpenID Connect: the callback URL, omniauth provider block, discovery, uid field, group claims and the errors to check.

November 2, 2026 · 4 min read

Guides

Grafana SSO: one OIDC configuration for any identity provider

Configure Grafana single sign-on with generic OAuth: the callback URL, auth and token endpoints, scopes, role mapping and the errors to check first.

November 2, 2026 · 4 min read

Guides

Identity federation: how it works, and the platforms that do it

Identity federation explained: how IdP and SP trust works, SAML vs OIDC, federation vs SSO, and six platforms compared.

November 2, 2026 · 6 min read

Guides

Jenkins SSO: the Casdoor plugin, or any OIDC provider

Set up Jenkins single sign-on with Casdoor's plugin or the generic OpenID Connect plugin: redirect URLs, discovery, JWT key, username and email claims.

November 2, 2026 · 4 min read

Guides

Kubernetes OIDC authentication: users, groups and RBAC

Configure Kubernetes API server OIDC authentication: issuer URL, client ID, kubectl login, id tokens, groups and RBAC bindings, with the usual errors.

November 2, 2026 · 4 min read

Guides

M2M authentication: how machines prove who they are

Machine-to-machine authentication compared: OAuth 2.0 client credentials, API keys, JWT bearer and mTLS, with the checks that keep service credentials safe.

November 2, 2026 · 5 min read

Guides

Moodle SSO: connecting Moodle to an OAuth identity provider

Configure Moodle single sign-on with the OAuth 2 service: the callback URL, endpoints, user field mapping, email restrictions and the errors to check.

November 2, 2026 · 4 min read

Guides

Nextcloud SSO: signing in through an OpenID Connect provider

Configure Nextcloud single sign-on with the user_oidc app: the callback URL, occ provider command, claim mapping, groups and the errors to check.

November 2, 2026 · 4 min read

Guides

OAuth consent: what the screen should say, and how consent phishing abuses it

What an OAuth consent screen is for, how scopes and consent phishing work, and the controls that keep users from granting access to the wrong app.

November 2, 2026 · 5 min read

Guides

OAuth token exchange: swapping a token for a narrower one

OAuth 2.0 token exchange explained: subject tokens, audience and scope narrowing, delegation vs impersonation, and the mistakes that break the exchange.

November 2, 2026 · 5 min read

Guides

Open-source CIAM: what it is, and 6 platforms compared (2026)

CIAM is identity for customers, not employees. What open-source CIAM has to cover, and how Casdoor, Keycloak, Zitadel, Logto, Ory and authentik compare.

November 2, 2026 · 6 min read

Guides

PKCE explained: proof key for code exchange in OAuth 2.0

PKCE (Proof Key for Code Exchange, RFC 7636) in plain terms: the code verifier and S256 challenge, why public clients need it, how the flow works, and the mistakes that break it.

November 2, 2026 · 4 min read

Guides

SAML attribute mapping: getting the right user data into the app

How SAML attribute mapping works: NameID formats, attribute statements, common Entra ID and Okta claims, multi-valued groups and the errors to check first.

November 2, 2026 · 5 min read

Guides

WordPress SSO: one login for the whole site

Add single sign-on to WordPress with the wp-cassify plugin and a CAS server: the CAS base URL, attribute mapping, auto-create users and the common errors.

November 2, 2026 · 4 min read

Guides

Adding SSO to your application: the implementation checklist

A practical guide to adding SAML and OIDC single sign-on to a web application: per-tenant connection state, assertion validation, sessions, JIT provisioning, logout and certificate rotation.

November 1, 2026 · 4 min read

Guides

What an authentication platform actually includes (and what a library does not)

A checklist for evaluating authentication platforms: protocols, user directory, MFA and passkeys, provisioning, authorization, multi-tenancy, admin tooling and deployment options.

November 1, 2026 · 3 min read

Guides

Build vs buy authentication: what you are actually paying for

A cost framework for authentication decisions: what building entails beyond the login form, what buying charges for, the hidden costs on both sides, and a decision checklist.

November 1, 2026 · 3 min read

Guides

Testing SAML SSO: the checklist that catches real failures

A practical test plan for SAML single sign-on: metadata, signature validation, audience and ACS checks, time windows, replay, IdP-initiated login, attributes, logout and certificate rotation.

November 1, 2026 · 3 min read

Guides

ID token vs access token: identity and authorization are different tokens

An ID token tells the client who the user is; an access token lets the client call an API. Why mixing them up causes outages and security bugs, with a validation checklist for each.

November 1, 2026 · 3 min read

Guides

JWT validation: the steps, the traps and the libraries

The correct order for validating a JSON Web Token: algorithm allowlist, signature via JWKS, issuer and audience, expiry with clock skew, and the classic alg=none and HS256 confusion attacks.

November 1, 2026 · 3 min read

Guides

Kerberos vs LDAP: tickets are not directory queries

Kerberos authenticates users and services with tickets; LDAP reads and writes a directory. How Active Directory uses both, why they are not interchangeable, and what web SSO needs instead.

November 1, 2026 · 3 min read

Guides

MFA fatigue attacks: why users approve the push that lets an attacker in

MFA fatigue (push bombing) exploits approval-based second factors with repeated notifications. How the attack works, why users approve, and the controls that actually stop it, including passkeys.

November 1, 2026 · 3 min read

Guides

Multi-tenant authentication: what has to be isolated, and how

The three ways to model tenants in an identity system, what must be isolated (users, sessions, IdP connections, keys, logs), and how per-tenant B2B SSO and SCIM fit in.

November 1, 2026 · 4 min read

Guides

OAuth device flow: how CLIs, TVs and headless devices sign in

The OAuth 2.0 device authorization grant (RFC 8628) explained: the device code and user code, the verification page, polling rules, security pitfalls, and how it compares with loopback redirects.

November 1, 2026 · 3 min read

Guides

OAuth grant types: which flow belongs in which application

Authorization code with PKCE, client credentials, device code and refresh tokens explained, with the deprecated flows to avoid and a table matching each grant to a client type.

November 1, 2026 · 3 min read

Guides

OAuth scopes: the difference between a permission and a role

How OAuth scopes work, how to name and size them, why roles are not scopes, how refresh and resource indicators interact, and the scope design mistakes that lead to over-permissioned tokens.

November 1, 2026 · 3 min read

Guides

Passkey vs password: which is more secure, and what actually changes?

Passkeys are more secure than passwords: there is no shared secret to phish or reuse, and a breach does not expose credentials. What changes for security, support and recovery, and how to run both during the transition.

November 1, 2026 · 4 min read

Guides

Refresh token rotation: short access tokens need a safe way to renew

How refresh token rotation works, why reuse detection matters, what OAuth 2.1 expects from public clients, and an implementation checklist with the concurrency pitfalls.

November 1, 2026 · 3 min read

Guides

Inside a SAML assertion: the fields that decide whether login works

What a SAML assertion contains, how it travels inside a SAMLResponse, what each element means, the validation checks that matter, and the errors that come from getting them wrong.

November 1, 2026 · 3 min read

Guides

SAML certificate renewal: the maintenance task that logs everyone out

How SAML signing and encryption certificates work, why expiry breaks every login at once, the overlap procedure for renewing without downtime, and a monitoring checklist.

November 1, 2026 · 3 min read

Guides

Setting up Casdoor as a SAML identity provider: metadata, ACS and attributes

A step-by-step SAML 2.0 IdP setup with Casdoor: the metadata URL, entity ID and ACS configuration, POST vs redirect binding, IdP-initiated SSO, single logout and custom attributes.

November 1, 2026 · 4 min read

Guides

SAML metadata: the XML that decides whether SSO works

What is inside SAML metadata, which endpoints and certificates the identity provider publishes, how certificate rotation breaks logins, and how to test metadata before an outage.

November 1, 2026 · 3 min read

Guides

SAML single logout: ending every session is harder than starting one

SAML single logout explained: LogoutRequest and LogoutResponse, SessionIndex tracking, SP-initiated vs IdP-initiated logout, front-channel vs back-channel, and the reasons SLO often fails in practice.

November 1, 2026 · 4 min read

Guides

SCIM vs JIT provisioning: creating users is easy, removing them is not

JIT provisioning creates an account on first sign-in; SCIM creates, updates and deactivates accounts in the background. Why the difference matters for deprovisioning, and how to combine them.

November 1, 2026 · 3 min read

Guides

SCIM vs SAML: one creates the account, the other signs the user in

SAML handles single sign-on; SCIM keeps user accounts in sync across systems. Why you usually need both, how just-in-time provisioning compares, and what to check before rolling out SCIM.

November 1, 2026 · 3 min read

Guides

Session management: the part of login nobody tests until it breaks

How web sessions should be created, stored and ended: cookie flags, idle and absolute timeouts, rotation on privilege changes, server-side logout, device lists and session fixation.

November 1, 2026 · 3 min read

Guides

SP-initiated vs IdP-initiated SSO: who starts the login matters

In SP-initiated SSO the application starts the login; in IdP-initiated SSO the identity provider pushes an unsolicited assertion. How both flows work, the security trade-offs, and when each is appropriate.

November 1, 2026 · 4 min read

Guides

SSO for SaaS: the feature every enterprise customer asks for

Why B2B SaaS buyers require SSO, what to build (per-tenant SAML and OIDC, JIT, SCIM), what the per-connection pricing of Auth0, WorkOS and Okta actually adds up to, and how to ship it.

November 1, 2026 · 3 min read

Guides

SSO vs OAuth: one is a login experience, the other is an access grant

Single sign-on is one login for many applications; OAuth 2.0 is delegated authorization for APIs. Why OAuth alone is not SSO, where OIDC fits, and how to choose the right building blocks.

November 1, 2026 · 3 min read

Guides

What is OAuth 2.0, and what is it actually for?

OAuth 2.0 explained: the four roles, access and refresh tokens, scopes, the grant types that matter in 2026, and why OAuth is an authorization framework rather than a login protocol.

November 1, 2026 · 3 min read

Guides

What is OpenID Connect, and why OAuth alone is not login

OpenID Connect explained: the ID token, discovery, scopes, the authorization code flow with PKCE, how to validate an ID token, and how OIDC relates to OAuth 2.0 and SAML.

November 1, 2026 · 3 min read

Guides

What is SAML, and why enterprises still run on it

SAML 2.0 explained: assertions, the identity provider and service provider, bindings and metadata, how a browser SSO login actually works, and where SAML stops.

November 1, 2026 · 4 min read

Guides

Where to store a JWT: localStorage is the wrong default

localStorage, sessionStorage, memory and httpOnly cookies compared for storing tokens in a browser: the XSS and CSRF trade-offs, the BFF pattern, and what to use for each app type.

November 1, 2026 · 3 min read

Guides

SSO IdP meaning: what an identity provider is, and how it differs from an SP

An SSO IdP (identity provider) is the system that stores the account, authenticates the user and issues the signed assertion or ID token; the SP (service provider) is the app that accepts it. The two roles, step by step.

October 31, 2026 · 5 min read

Guides

LDAP vs Active Directory: a protocol is not a directory

LDAP is a protocol for reading and writing a directory; Active Directory is Microsoft's directory service that speaks LDAP. How they differ, what each is used for, and how Casdoor connects to both.

October 31, 2026 · 4 min read

Guides

MFA vs 2FA: two factors is the minimum, not the definition

2FA means exactly two authentication factors; MFA means two or more. Why the distinction matters for compliance and risk, with examples of what does and does not count as MFA.

October 31, 2026 · 3 min read

Guides

Migrating from Auth0 to Casdoor: what exports, what does not, and how to cut over

How to move users off Auth0: what the bulk export includes, why password hashes are a separate problem, what has to be rebuilt in Casdoor, and a cutover plan that can be rolled back.

October 31, 2026 · 4 min read

Guides

Leaving Azure AD B2C: moving users, passwords and custom policies to Casdoor

Azure AD B2C has been closed to new customers since May 2025. How to export B2C users through Microsoft Graph, what Casdoor's Azure AD syncer moves, and how to handle passwords and custom policies.

October 31, 2026 · 4 min read

Guides

Migrating from Keycloak to Casdoor without losing your users

How to move users, groups and logins from Keycloak to Casdoor: the built-in Keycloak syncer, what happens to password hashes, what has to be rebuilt, and a safe cutover plan.

October 31, 2026 · 4 min read

Guides

Migrating from Okta to Casdoor: what the Okta syncer can move

Casdoor's Okta syncer reads users straight from the Okta API. What it imports, what Okta will not export (passwords, MFA, app assignments), and how to plan the cutover.

October 31, 2026 · 3 min read

Guides

OAuth vs SAML: delegated access is not single sign-on

OAuth 2.0 grants access to APIs with tokens; SAML 2.0 carries signed identity assertions for browser single sign-on. What each is for, where they overlap with OIDC, and how to choose.

October 31, 2026 · 3 min read

Guides

Passwordless authentication: the methods that actually remove the password

Passkeys, security keys, magic links, email and SMS codes compared: how each passwordless method works, what it is weak to, and how to roll one out without locking users out.

October 31, 2026 · 3 min read

Guides

How to add an MCP server to Claude: Desktop, Claude Code and claude.ai

Where claude_desktop_config.json lives and what goes in it, how to add a remote MCP server as a custom connector, the claude mcp add commands for Claude Code, and how OAuth sign-in works.

October 25, 2026 · 6 min read

Guides

Best self-hosted identity provider (IdP) in 2026: 5 options and how to run one

The best self-hosted identity providers (IdPs) compared: Casdoor, Keycloak, authentik, Zitadel and Authelia, what you need next to them, a production checklist, and a Docker Compose example.

October 25, 2026 · 6 min read

Guides

Authentication vs authorization: what's the difference?

Authentication proves who a user is; authorization decides what they may do. Examples, the protocols and models for each (OIDC, SAML, OAuth 2.0, RBAC, ABAC), HTTP 401 vs 403, and where each check belongs.

October 21, 2026 · 3 min read

Guides

How to connect ChatGPT to an MCP server, with OAuth sign-in

Add a remote MCP server to ChatGPT as a custom MCP server: what the server needs, the steps in ChatGPT, how OAuth sign-in works (CIMD, DCR, PKCE, redirect URI), and fixes for common errors.

October 21, 2026 · 4 min read

Guides

JWT vs session cookies: which should you use?

Server-side sessions and JWTs compared: where state lives, revocation, scaling, security pitfalls, and why most apps end up using both, with sessions in the browser and JWTs for APIs.

October 21, 2026 · 4 min read

Guides

OAuth 2.0 vs OpenID Connect: what's the difference?

OAuth 2.0 is for authorization, OpenID Connect adds authentication on top. What each one gives you, access tokens vs ID tokens, which flow to use, and common mistakes.

October 21, 2026 · 4 min read

Guides

What are passkeys, and how do they replace passwords?

Passkeys explained: how WebAuthn public-key sign-in works, synced vs device-bound passkeys, why they resist phishing, passkeys vs passwords and MFA, and how to add passkey login to your app.

October 21, 2026 · 3 min read

Guides

What is an identity provider (IdP)?

An identity provider (IdP) stores users, signs them in and vouches for them to other apps. How IdPs work with OIDC and SAML, IdP vs service provider, examples, and how to choose or self-host one.

October 21, 2026 · 3 min read

Guides

What is CIAM (customer identity and access management)?

CIAM explained: how customer identity differs from workforce IAM, the features a CIAM platform needs (sign-up, social login, passwordless, MFA, B2B organizations, consent), how vendors price it, and open-source options.

October 21, 2026 · 3 min read

Guides

What is multi-factor authentication (MFA)?

Multi-factor authentication explained: the three factor types, MFA vs 2FA, TOTP, SMS, email, push and passkeys compared on security and friction, phishing-resistant MFA, and how to roll it out.

October 21, 2026 · 3 min read

Guides

What is SCIM, and how does user provisioning work?

SCIM 2.0 explained: the standard API for creating, updating and removing users and groups across apps, how it works with SSO, example requests, and how to add SCIM provisioning to your app.

October 21, 2026 · 3 min read

Guides

SSO meaning: what single sign-on is and how it works

SSO stands for single sign-on: one login at an identity provider, then many apps without another password. How it works, the protocols behind it, workforce vs customer SSO, and how to add it.

October 21, 2026 · 4 min read

Guides

OAuth for AI agents: the standards that matter, explained

How AI agents and MCP clients get access tokens: OAuth 2.1 with PKCE, client ID metadata documents, resource indicators, DPoP, token exchange and the device flow, and what each one protects against.

October 20, 2026 · 5 min read

Guides

LDAP vs RADIUS: what's the difference, and how they work together

LDAP vs RADIUS: LDAP is a directory you look users up in, while RADIUS is a protocol network devices use to ask whether a user may connect. How each works, when you need both, and how Casdoor serves both from one identity provider.

October 20, 2026 · 6 min read

Guides

SAML vs OIDC: what's the difference, and which should you use?

OIDC vs SAML: how the two SSO protocols differ in flows, tokens and metadata, when each fits, and how one identity provider can serve both.

October 20, 2026 · 6 min read

Guides

Single logout explained: signing users out of every app

Why logging out of one app doesn't log you out of the others, and the standards that fix it: OIDC RP-initiated, front-channel and back-channel logout, SAML Single Logout, and token revocation.

October 20, 2026 · 4 min read

Guides

What is CAS? The Central Authentication Service, explained

CAS is a ticket-based single sign-on protocol, still common at universities. How a CAS login works, CAS 1.0 vs 2.0 vs 3.0, how it compares with SAML and OIDC, and which CAS servers you can use.

October 20, 2026 · 3 min read