Skip to content

Add Keycloak#656

Draft
johnhamelink wants to merge 6 commits intojuspay:mainfrom
johnhamelink:feature/keycloak
Draft

Add Keycloak#656
johnhamelink wants to merge 6 commits intojuspay:mainfrom
johnhamelink:feature/keycloak

Conversation

@johnhamelink
Copy link
Copy Markdown

@johnhamelink johnhamelink commented Mar 28, 2026

Implement Keycloak service based on the devenv implementation. Feedback very much appreciated - this is my first time contributing to services-flake!

TODOs:

  • Running Keycloak Service
  • Working Readiness Check
  • Passing test
  • Realm import
  • Realm export
  • Rigorous user testing
  • Fix all outstanding FIXMEs/TODOs in comments
image

Questions:

  1. The devenv implementation comes with a series of scripts: how should I implement them in services-flake?
  2. The devenv implementation also runs a script after termination of the service. I'm also unsure how to implement this?

Tested with the following:

  services.keycloak."keycloak" = {
    enable = true;
    realms.example = {
      path = "realms/example.json";
      import = true;
      # export = true;
    };
  };

And adding a realm JSON file to ./data/keycloak/realms/example.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant