CAS 5.3.7 - Problem for OIDC delegated authentication

129 views
Skip to first unread message

Matthieu Borez

unread,
Jan 23, 2019, 9:21:07 AM1/23/19
to CAS Community

Hello,

 

I am currently working with the latest version of branch 5.3.X of CAS and FranceConnect (OIDC). I would like to delegate FranceConnect authentication to CAS. When I apply this configuration, no problem the application starts well.

 

However, when I click on the delegation button, the FranceConnect service sends me an answer:

{"status": "fail", "message": "The following fields are not supposed to be present : delegatedclientid"}

 

The redirection URL is composed of redirect_uri and delegatedClientId.

1. Is delegatedClientId mandatory in the authentication process and/or how to ignore it?

2. redirect_uri only takes /cas/login?client_name=FranceConnect instead of sending https://cas-server.com/cas/login?client_name=FranceConnect

 

Thank you in advance,

Matthieu

Matthieu Borez

unread,
Jan 23, 2019, 10:50:42 AM1/23/19
to CAS Community
cas.authn.pac4j.oidc[0].id=<oidc_id>
cas.authn.pac4j.oidc[0].secret=<oidc_secret>
cas.authn.pac4j.oidc[0].discoveryUri=http://127.0.0.1:8080/json/fc.json
cas.authn.pac4j.oidc[0].useNonce=true
cas.authn.pac4j.oidc[0].preferredJwsAlgorithm=HS256
cas.authn.pac4j.oidc[0].clientName=FranceConnect
cas.authn.pac4j.oidc[0].usePathBasedCallbackUrl=false
cas.authn.pac4j.oidc[0].autoRedirect=false
cas.authn.pac4j.typedIdUsed=true

Boris P1

unread,
May 6, 2019, 9:42:15 AM5/6/19
to CAS Community
Hi Matthieu Borez,

Since January, did you find the way to do it because i have the same issue?

Boris.


Matthieu Borez

unread,
May 7, 2019, 8:16:37 AM5/7/19
to CAS Community
I have not heard any news from him since January and I have been forced, due to lack of time, to abandon my work on the subject.

Matthieu

Boris P1

unread,
May 7, 2019, 11:30:56 AM5/7/19
to CAS Community
Thanks.

Boris P1

unread,
May 27, 2019, 5:29:50 AM5/27/19
to CAS Community
Reply all
Reply to author
Forward
0 new messages