PreRequestedAttribute in ExternalIntercept

B benthic0 at pm.me
Thu May 7 15:53:14 UTC 2026


We need to send a user attribute to a third party service during an OIDC.SSO flow, and get their response before returning to the user.

We configured the AttributeDefinition with 'preRequested="true"'.

In our external intercept JSP we're trying to get the AttributeContext with the statements below, but lookup.apply() returns null:

ProfileRequestContext prc = ExternalInterceptor.getProfileRequestContext(key, request);

ApplicationContext springContext = WebApplicationContextUtils.getWebApplicationContext(application);

Function<ProfileRequestContext, AttributeContext> lookup =

(Function<ProfileRequestContext, AttributeContext>) springContext.getBean("shibboleth.ChildLookup.PreRequestedAttributeContext");

AttributeContext attrCtx = lookup.apply(prc);

We're using IdP 5.2.1.

Are we missing something?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20260507/74484352/attachment.htm>


More information about the users mailing list