You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently jans-config-api uses basic authentication, requirement is to use an interception scripts which can enable custom business logic for authentication.
For example, a customer may want to pass an access token with a custom claim, like {"role": "manager", "infrastructure": "prod"}
The script should read that information from the access token, and then write custom rules about whether to allow or deny the client authentication. Note: Script already checked in branch 286 -> https://github.com/JanssenProject/jans/tree/jans-286/jans-linux-setup/static/extension/config_api
Details of jansCustomScr:
inum = preferable with 'A' example DN: inum=A110-88AB,ou=scripts,o=jans description = Jans Config Api authorization script displayName = config_api_authorization jansConfProperty = {"value1":"testProp1","value2":"Test value 1","hide":false,"description":""} jansConfProperty = {"value1":"testProp2","value2":"Test value 2","hide":false,"description":""} jansEnabled = false jansLevel = 100 jansModuleProperty= {"value1":"location_type","value2":"ldap","description":""} jansProgLng = python jansScrTyp = config_api_auth jansScr =https://github.com/JanssenProject/jans/tree/jans-286/jans-linux-setup/static/extension/config_api jansCustomScr-config-api.zip
Currently jans-config-api uses basic authentication, requirement is to use an interception scripts which can enable custom business logic for authentication.
For example, a customer may want to pass an access token with a custom claim, like {"role": "manager", "infrastructure": "prod"}
The script should read that information from the access token, and then write custom rules about whether to allow or deny the client authentication.
Note: Script already checked in branch 286 -> https://github.com/JanssenProject/jans/tree/jans-286/jans-linux-setup/static/extension/config_api
Details of jansCustomScr:
inum = preferable with 'A' example
DN: inum=A110-88AB,ou=scripts,o=jans
description = Jans Config Api authorization script
displayName = config_api_authorization
jansConfProperty = {"value1":"testProp1","value2":"Test value 1","hide":false,"description":""}
jansConfProperty = {"value1":"testProp2","value2":"Test value 2","hide":false,"description":""}
jansEnabled = false
jansLevel = 100
jansModuleProperty= {"value1":"location_type","value2":"ldap","description":""}
jansProgLng = python
jansScrTyp = config_api_auth
jansScr = https://github.com/JanssenProject/jans/tree/jans-286/jans-linux-setup/static/extension/config_api
jansCustomScr-config-api.zip
Related config-api issue Issue-286 #286
The text was updated successfully, but these errors were encountered: