From 988805d7f3c8eddaa0209889b1cc98a839fc02fc Mon Sep 17 00:00:00 2001 From: Arnab Dutta Date: Mon, 14 Nov 2022 18:01:30 +0530 Subject: [PATCH] feat: add feature to include custom-claims in user-info endpoint of admin-ui plugin #2969 --- .../jans_setup/templates/scripts.ldif | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/jans-linux-setup/jans_setup/templates/scripts.ldif b/jans-linux-setup/jans_setup/templates/scripts.ldif index d2e449c2bd8..a58ec786ac4 100644 --- a/jans-linux-setup/jans_setup/templates/scripts.ldif +++ b/jans-linux-setup/jans_setup/templates/scripts.ldif @@ -577,3 +577,37 @@ jansScr::%(update_token_updatetoken)s jansScrTyp: update_token jansProgLng: python +dn: inum=E706-F8A8,ou=scripts,o=jans +objectClass: top +objectClass: jansCustomScr +description: GitHub Inbound Authentication script +displayName: github +inum: E706-F8A8 +jansConfProperty: {"value1":"hide","value2":"true","hide":false,"description":""} +jansConfProperty: {"value1":"github_creds_file","value2":"/opt/github.json","hide":false,"description":""} +jansConfProperty: {"value1":"description","value2":"GitHub Login","hide":false,"description":""} +jansEnabled: true +jansLevel: 10 +jansModuleProperty: {"value1":"location_type","value2":"ldap","description":""} +jansModuleProperty: {"value1":"usage_type","value2":"interactive","description":""} +jansProgLng: python +jansRevision: 0 +jansScr::%(person_authentication_GithubExternalAuthenticator)s +jansScrTyp: person_authentication + +dn: inum=8333-DFBC,ou=scripts,o=jans +objectClass: jansCustomScr +objectClass: top +description: Add GitHub claims to introspection response +displayName: github-claims-introspection-script +inum: 8333-DFBC +jansEnabled: true +jansLevel: 10 +jansModuleProperty: {"value1":"location_type","value2":"ldap","description":""} +jansProgLng: python +jansRevision: 0 +jansScr::%(introspection_introspection_github_claims)s +jansScrTyp: introspection + + +