feat: add RFC 7033 support with new service and package
Python webserver to serve RFC7033 since Authentik does not support it. This is needed for OICD login in Tailscale
This commit is contained in:
parent
8b72b206ce
commit
f664873ced
3 changed files with 116 additions and 2 deletions
15
packages/authentik-rfc7033/default.nix
Normal file
15
packages/authentik-rfc7033/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
name = "authentik-rfc7033";
|
||||
src = ./src;
|
||||
|
||||
buildInputs = [ pkgs.python3 ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 rfc-7033.py $out/bin/rfc-7033.py
|
||||
patchShebangs $out/bin/rfc-7033.py
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue