feat(jans-auth-server): provide configuration for changing case-sensitivity of FAPI response (original) (raw)

Description

Issue reported in support ticket "91"

AccountAccessConsentServlet returns back in response "consentId" which leads to failure in testing tool which expects "ConsentId" (it fails on step [ExtractAccountRequestIdFromAccountRequestsEndpointResponse](https://www.certification.openid.net/log-detail.html?log=SS4QTHjPbMiFDSc&public=true#ref-SS4QTHjPbMiFDSc-kKKqWcRHYC1q2HTNUH5VI1sfg7SuCHjn)).

Hemant changed from "ConsentId" -> "consentId" because it failed for Brazil OB.
a293913

https://www.certification.openid.net/log-detail.html?log=SS4QTHjPbMiFDSc&public=true#ref-SS4QTHjPbMiFDSc-XTNIrQ4eBofQ9UUUxNYoIC4A3JnxoS3A

Image

We need configurable way where depending configuration we can return "ConsentId" or "consentId".

Test cases and code coverage