Merge pull request #207953 from s1341/keycloak_add_scim_user_storage_plugin

keycloak: add scim-keycloak-user-storage-spi plugin
This commit is contained in:
Anderson Torres 2023-01-08 15:10:47 -03:00 committed by GitHub
commit 9b6e1c2f51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -2,6 +2,7 @@
{ {
scim-for-keycloak = callPackage ./scim-for-keycloak {}; scim-for-keycloak = callPackage ./scim-for-keycloak {};
scim-keycloak-user-storage-spi = callPackage ./scim-keycloak-user-storage-spi {};
keycloak-discord = callPackage ./keycloak-discord {}; keycloak-discord = callPackage ./keycloak-discord {};
keycloak-metrics-spi = callPackage ./keycloak-metrics-spi {}; keycloak-metrics-spi = callPackage ./keycloak-metrics-spi {};
} }

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, maven
, javaPackages
}:
javaPackages.mavenfod rec {
pname = "scim-keycloak-user-storage-spi";
version = "unstable-2023-01-03";
src = fetchFromGitHub {
owner = "justin-stephenson";
repo = "scim-keycloak-user-storage-spi";
rev = "1be97049edf096ca0d9a78d988623d5d3f310fb1";
hash = "sha256-aGHInyy+VgyfjrXeZ6T6jfI00xaCwrRTehnew+mWYnQ=";
};
mvnHash = "sha256-CK42d+Ta1/XNQWCLaje6sI+C90YvzUcteuasVkUPfCk=";
nativeBuildInputs = [
maven
];
installPhase = ''
install -D "target/scim-user-spi-0.0.1-SNAPSHOT.jar" "$out/scim-user-spi-0.0.1-SNAPSHOT.jar"
'';
meta = with lib; {
homepage = "https://github.com/justin-stephenson/scim-keycloak-user-storage-spi";
description = "A third party module that extends Keycloak, allow for user storage in an external scimv2 server";
sourceProvenance = with sourceTypes; [
fromSource
];
license = licenses.mit;
maintainers = with maintainers; [ s1341 ];
};
}