Keycloak: Difference between revisions

From NixOS Wiki
imported>Nix
cleanup
imported>Nix
mNo edit summary
Line 5: Line 5:
* covered in the [https://nixos.org/manual/nixos/stable/index.html#module-services-keycloak NixOS manual]
* covered in the [https://nixos.org/manual/nixos/stable/index.html#module-services-keycloak NixOS manual]
* packaged [https://search.nixos.org/packages?type=packages&query=keycloak for Nix]
* packaged [https://search.nixos.org/packages?type=packages&query=keycloak for Nix]
* available as a [https://search.nixos.org/options?query=keycloak Nix service]
* available as a [https://search.nixos.org/options?query=keycloak NixOS service]
* written in [[Java]]
* written in [[Java]]
* maintained by Red Hat
* maintained by Red Hat

Revision as of 15:25, 18 October 2021

Keycloak (Wikipedia) is identity and access management software, and can serve as an authentication server for applications (providing support for OpenID Connect, OAuth 2.0, and SAML.)

Keycloak is...

Troubleshooting

Installing on system without X11

If, when you perform:

nixos-rebuild switch

... you encounter errors like:

building Nix...

...

checking for CAIRO_BACKEND... no
configure: error: Package requirements (cairo-xlib >= 1.6) were not met:

No package 'cairo-xlib' found

...

error: build of '/nix/store/vfz...2a0-nixos-system-nixos-21.11pre322478.e4ef597edfd.drv' failed

... it would be because the package expects X11 to be installed. The environment.noXlibs NixOS option will specify to not require the X11 libraries:

/etc/nixos/configuration.nix
{ config, pkgs, ... }:

{
  environment.noXlibs = false;
}