keycloak-config-cli VS dex

Compare keycloak-config-cli vs dex and see what are their differences.

dex

OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors (by dexidp)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
keycloak-config-cli dex
10 37
672 9,041
3.0% 1.1%
8.1 9.4
4 days ago 2 days ago
Java Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

keycloak-config-cli

Posts with mentions or reviews of keycloak-config-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-18.
  • Beyond the login page
    1 project | dev.to | 29 Nov 2023
    Most of the time nowadays, I prefer offloading this to an identity provider, using OpenID Connect or soon Federated Credential Management (FedCM), even if that means shipping an identity provider as part of the deliverables (I generally go with Keycloak, with keycloak-config-cli to provision its configuration). I'm obviously biased though as I work in IT services, developping software mainly for intranets/extranets, and companies now increasingly have their own identity providers or at a minimum have that in their roadmap. So YMMV.
  • Keycloak – Open-Source Identity and Access Management Interview
    26 projects | news.ycombinator.com | 18 Jun 2023
    > But it is painful share the setup with other engineers.

    We used keycloak-config-cli [1] it compares a config file stripped of IDs to your Keycloak installation and makes the relevant updates through the REST API.

    [1] https://github.com/adorsys/keycloak-config-cli

  • Keycloak with PostgreSQL on Kubernetes
    8 projects | news.ycombinator.com | 10 Apr 2023
  • Is Keycloak ready for Kubernetes?
    2 projects | /r/KeyCloak | 8 Nov 2022
    As far as I know, the state of the art is https://github.com/adorsys/keycloak-config-cli , but I haven't played with that yet. It seems to be a big improvement over other solutions, because it can update configurations and the configurations can be "clean".
  • Add keycloak configurations through script
    1 project | /r/KeyCloak | 25 Jul 2022
  • Noob question about self-hosting on a VPS
    1 project | /r/selfhosted | 29 Apr 2022
    One alternative is to use the admin APIs instead of the UI. You'd SSH into the host and then use curl or https://github.com/adorsys/keycloak-config-cli to configure keycloak. I use the keycloak-config-cli for my setup. It's both how I manage disaster recovery and make changes to configuration.
  • Keycloak; docker or dedicated?
    1 project | /r/selfhosted | 25 Apr 2022
    I'm not saying that keycloak is always easy to work with. The thing I found hardest to figure out was how to automate disaster recovery. I want to be able to rebuild my entire auth configuration from scratch including users, default passwords, oauth clients, JWT mappings, etc. The only way I found to do this was to use https://github.com/adorsys/keycloak-config-cli. tl;dr It uses the admin API to provision items. You can export a configured realm, manually tweak some parts of it like enter passwords and add users, and then run it against a keycloak instance to restore everything.
  • Keycloak config management?
    1 project | /r/devops | 21 Apr 2022
    I've found this https://github.com/adorsys/keycloak-config-cli and it looks really promising. It can update the configs without a need to restart the whole keycloak instance.
  • Nginx auth_request and Keycloak?
    3 projects | /r/selfhosted | 29 Mar 2022
    If you do end up using a setup like this then I highly recommend that you look into https://github.com/adorsys/keycloak-config-cli. tl;dr You can export your realm configuration once set up and then use it to restore your system should you lose your keycloak data. It can also be used to provision users but you have to manually add them to the realm export because they are not included in an export for some reason. All the different objects it can manage are documented here: https://www.keycloak.org/docs-api/17.0/rest-api/index.html#_realmrepresentation.

dex

Posts with mentions or reviews of dex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-28.
  • Navigating Identity Authentication: From LDAP to Modern Protocols
    2 projects | dev.to | 28 Mar 2024
    Dex: https://dexidp.io
  • Keycloak SSO with Docker Compose and Nginx
    21 projects | news.ycombinator.com | 11 Feb 2024
    Recently I looked into having a relatively simple SSO setup for my homelab. My main objective is that I could easily login with Google or GitHub auth. At my previous job I used both JetBrains Hub [1] and Keycloak but I found both of them a bit of a PITA to setup.

    JetBrains Hub was really, really easy to get going. As was my previous experience with them. The only thing that annoyed me was the lack of a latest tag on their Docker registry. Don't get me wrong, pinned versions are great, but for my personal use I mostly just want to update all my Docker containers in one go.

    On the other hand I found Keycloak very cumbersome to get going. It was pretty easy in dev mode, but I stumbled to get it going in production. AFAIK it had something to do with the wildcard Let's Encrypt cert that I tried to use. But after a couple of hours, I just gave up.

    I finally went with Dex [2]. I had previously put it off because of the lack of documentation, but in the end it was extremely easy to setup. It just required some basic YAML, a SQLite database and a (sub)domain. I combined Dex with the excellent OAuth2 Proxy and a custom Nginx (Proxy Manager) template for an easy two line SSO configuration on all of my internal services.

    In addition to this setup, I also added Cloudflare Access and WAF outside of my home to add some security. I only want to add some CrowdSec to get a little more insights.

    1. https://www.jetbrains.com/hub/

    2. https://dexidp.io/

    3. https://github.com/oauth2-proxy/oauth2-proxy

    3. https://github.com/alex3305/unraid-docker-templates

  • Sign in with GitHub in Go
    1 project | /r/golang | 10 Dec 2023
    Another great option is to use https://github.com/dexidp/dex in an authentication setup. In your app, you federate the authentication to dex using OAuth2. Dex then has a pluggable architecture with built-in connectors for many established identity providers using a variety of protocols: Among others OAuth2, SAML 2 but also GitHub, Google, Gitea and so forth.
  • Show HN: Obligator – An OpenID Connect server for self-hosters
    18 projects | news.ycombinator.com | 11 Oct 2023
  • I made a small program that makes it easier to run commands inside containers
    4 projects | /r/docker | 20 Jun 2023
    dex is well-known: https://github.com/dexidp/dex
  • Keycloak – Open-Source Identity and Access Management Interview
    26 projects | news.ycombinator.com | 18 Jun 2023
    We used keycloak for openid identity provider as well. It is fine to setup keycloak once. But it is painful share the setup with other engineers.

    For local development, we end up using dex (https://dexidp.io). When we need support group/role, we use dex and glauth(https://glauth.github.io). Both dex and glauth can be configured with yaml files. We just created a few yaml files and a docker compose file, every engineer can be brought up the whole environment in a few seconds.

    Also https://www.authelia.com and https://github.com/goauthentik/authentik look pretty promising, if you need more advanced features from them.

  • dex VS boruta-server - a user suggested alternative
    2 projects | 22 May 2023
  • Have you convinced anyone to use Nix or NixOS? Friends? Coworkers?
    5 projects | /r/NixOS | 16 Apr 2023
    I added it as an available option (flake) in Dex: https://github.com/dexidp/dex
  • Okta Access Gateway Alternatives
    2 projects | /r/sysadmin | 28 Mar 2023
  • Is there a good example of an open source non-trivial (DB connection, authentication, authorization, data validation, tests, etc...) Go API?
    14 projects | /r/golang | 25 Jan 2023

What are some alternatives?

When comparing keycloak-config-cli and dex you can also consider the following projects:

testcontainers-spring-boot - Container auto-configurations for Spring Boot based integration tests

Keycloak - Open Source Identity and Access Management For Modern Applications and Services

nginx-openid-connect - Reference implementation of OpenID Connect integration for NGINX Plus

authelia - The Single Sign-On Multi-Factor portal for web apps

private_server - This is the configuration for my private server, with the intention of never having to use manual SSH.

Ory Hydra - OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.

vouch-proxy - an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

OpenUnison - Unified Identity Management

oauth2-proxy - A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.

component-keycloak - Commodore Component for Keycloak

caddy-auth-portal - Authentication Plugin for Caddy v2 implementing Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA with App Authenticators and Yubico.