keycloak.plugins.keycloak-restrict-client-auth: init at 23.0.0

This commit is contained in:
Leona Maroni 2024-01-23 13:05:04 +01:00
parent f048098f0b
commit 0af2c17aa8
No known key found for this signature in database
GPG key ID: D5B08ADFC75E3605
2 changed files with 29 additions and 0 deletions

View file

@ -5,4 +5,5 @@
scim-keycloak-user-storage-spi = callPackage ./scim-keycloak-user-storage-spi {};
keycloak-discord = callPackage ./keycloak-discord {};
keycloak-metrics-spi = callPackage ./keycloak-metrics-spi {};
keycloak-restrict-client-auth = callPackage ./keycloak-restrict-client-auth {};
}

View file

@ -0,0 +1,28 @@
{ maven, lib, fetchFromGitHub }:
maven.buildMavenPackage rec {
pname = "keycloak-restrict-client-auth";
version = "23.0.0";
src = fetchFromGitHub {
owner = "sventorben";
repo = "keycloak-restrict-client-auth";
rev = "v${version}";
hash = "sha256-JA3DvLdBKyn2VE1pYSCcRV9Cl7ZAWsRG5MAp548Rl+g=";
};
mvnHash = "sha256-W1YvX1P/mshGYoTUO5XMlOcpu2KiujwLludaC3miak4=";
installPhase = ''
runHook preInstall
install -Dm444 -t "$out" target/keycloak-restrict-client-auth.jar
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/sventorben/keycloak-restrict-client-auth";
description = "A Keycloak authenticator to restrict authorization on clients";
license = licenses.mit;
maintainers = with maintainers; [ leona ];
};
}