How to disable the delegatedclientid HTTP parameter in a OpenIDConnect?

88 views
Skip to first unread message

Boris P1

unread,
Apr 29, 2019, 10:40:21 AM4/29/19
to CAS Community
Good morning all,

We are doing the migration of CAS to its 5.3.9 version.
The step we are attempting to realize is the authentication delegation with OIDC.
Always according to the apereo.github documentation, we implement the CAS overlay template to reach it.
Nevertheless, we have recently discovered that the Maven dependency related to pac4j, cas-server-support-pac4j-webflow, does not respect rigorously the OIDC protocol because one class does force the delegatedclientid HTTP parameter to be in the URL handled by FranceConnect (implementing OIDC), which is explicitly not necessary with OIDC.
The concerning class is the following:
org.apereo.cas.web.DelegatedClientWebflowManager
Which is here:
During the delegation process, FranceConnect stops it and specifies some informations about this parameter:
"The following fields are not supposed to be present : delegatedclientid"
For information, the different existing HTTP parameters in the URL are the following:
scope
response_type
redirect_uri
state
nonce
delegatedclientid
client_id

Please, is this parameter very necessary in this class or is there a way to disable it?

Boris.

Boris P1

unread,
May 27, 2019, 5:26:52 AM5/27/19
to CAS Community
I made a proposal of solution here:
following the Maven overlay principle.

I precise that all the classes needed via the imports in the Java class DelegatedClientWebflowManager are available thanks to new dependencies added in the pom.xml.

Boris.
Reply all
Reply to author
Forward
0 new messages