Pablo,

With delegated login, cas becomes the 'service' to the remote authenticator.
The processing for your service would be later in the logs.

Ray
________________________________
From: [email protected] <[email protected]> on behalf of Pablo Vidaurri 
<[email protected]>
Sent: January 14, 2026 14:17
To: CAS Community <[email protected]>
Subject: [cas-user] Inject query parameter to OIDC delegated login

Using CAS v6.6.15.2, I was able to overlay this class 
DelegatedClientAuthenticationRedirectAction to look for a TARGET query 
parameter from cas/login?TARGET=https://foobar.com and create/inject a 
parameter to send via URIBuilder to the delegated login service.

Now testing this in v7.3.3, applying my same changes to do work. Instead it 
looks like it is not receiving the same URL in the request object but instead 
the URL of the CAS  client redirect for the delegated login.

Anyone know of an alternate source that I can to move my logic to?

Lines I was using:
val request = 
WebUtils.getHttpServletRequestFromExternalWebflowContext(requestContext);
String queryString = request.getQueryString();
String target = request.getParameter("TARGET");
if (target.contains("foobar/something") {
    builder.addParameter("casclient", "something");
}

-psv

--
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f2e2be14-bf15-423f-bf2a-cb9a7dafee6dn%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/f2e2be14-bf15-423f-bf2a-cb9a7dafee6dn%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/YQBP288MB008159720D55AD973C03EF50CE8CA%40YQBP288MB0081.CANP288.PROD.OUTLOOK.COM.

Reply via email to