diff --git a/etc/nss_pam_oidc.example.toml b/etc/nss_pam_oidc.example.toml new file mode 100644 index 0000000000000000000000000000000000000000..f965805f1f563156140f193a400ce454c752fdd1 --- /dev/null +++ b/etc/nss_pam_oidc.example.toml @@ -0,0 +1,21 @@ +debug = true +auth_url = "https://ticdesk-dev.teckids.org/oauth/authorize/" +token_url = "https://ticdesk-dev.teckids.org/oauth/token/" + +[pam] +client_id = "Df1cpPEBsbG64oZ1Q1L8NetH1UKNBUyA5qhxg1Zh" +client_secret = "" + +[nss] +client_id = "z8Oz0tG56QRo9QEPUZTs5Eda410FMiJtYxlInxKE" +client_secret = "" +passwd_url = "https://ticdesk-dev.teckids.org/app/nis/api/passwd/" + +[nss.maps.passwd] +name = { type = "rename", value = "username" } +passwd = { type = "static", value = "x" } +# uid left unchanged +gid = { type = "rename", value = "primary_gid" } +gecos = { type = "static", value = "Foo" } +dir = { type = "rename", value = "home_directory" } +shell = { type = "rename", value = "login_shell" }