From 8fbceb7f1573b3e5b34f0ada096c158cf77cc7ac Mon Sep 17 00:00:00 2001 From: Javier Rojas Blum Date: Wed, 2 Feb 2022 21:37:39 -0400 Subject: [PATCH] feat(jans-auth-server): allow return of custom authz endpoint request parameters to rp in response --- .../templates/jans-auth/jans-auth-config.json | 23 ++++++++++++++++--- .../templates/jans-auth/jans-auth-config.json | 23 ++++++++++++++++--- 2 files changed, 40 insertions(+), 6 deletions(-) diff --git a/jans-linux-setup/openbanking/templates/jans-auth/jans-auth-config.json b/jans-linux-setup/openbanking/templates/jans-auth/jans-auth-config.json index 9a725d94266..18e6720029f 100644 --- a/jans-linux-setup/openbanking/templates/jans-auth/jans-auth-config.json +++ b/jans-linux-setup/openbanking/templates/jans-auth/jans-auth-config.json @@ -283,9 +283,26 @@ "httpLoggingExludePaths": [], "externalLoggerConfiguration": "", "authorizationRequestCustomAllowedParameters" : [ - "customParam1", - "customParam2", - "customParam3" + { + "paramName": "customParam1", + "returnInResponse": false + }, + { + "paramName": "customParam2", + "returnInResponse": false + }, + { + "paramName": "customParam3", + "returnInResponse": false + }, + { + "paramName": "customParam4", + "returnInResponse": true + }, + { + "paramName": "customParam5", + "returnInResponse": true + } ], "legacyDynamicRegistrationScopeParam": false, "openidScopeBackwardCompatibility": false, diff --git a/jans-linux-setup/templates/jans-auth/jans-auth-config.json b/jans-linux-setup/templates/jans-auth/jans-auth-config.json index eaad1581f21..061fda73325 100644 --- a/jans-linux-setup/templates/jans-auth/jans-auth-config.json +++ b/jans-linux-setup/templates/jans-auth/jans-auth-config.json @@ -374,9 +374,26 @@ "httpLoggingExludePaths": [], "externalLoggerConfiguration": "", "authorizationRequestCustomAllowedParameters" : [ - "customParam1", - "customParam2", - "customParam3" + { + "paramName": "customParam1", + "returnInResponse": false + }, + { + "paramName": "customParam2", + "returnInResponse": false + }, + { + "paramName": "customParam3", + "returnInResponse": false + }, + { + "paramName": "customParam4", + "returnInResponse": true + }, + { + "paramName": "customParam5", + "returnInResponse": true + } ], "legacyDynamicRegistrationScopeParam": false, "openidScopeBackwardCompatibility": false,