SAML callback URL without parameter client_name=SAML2Client

151 views
Skip to first unread message

Eyal Ben-Avraham

unread,
Apr 28, 2021, 11:32:39 AM4/28/21
to Pac4j users mailing list
Hi,

I am working on implementation for SAML2 only, at least for now.
 
"I want to use application option "Requestable SSO URLs 
however query parameters are invalid to use with in requestable URL
(at least at okta..)

I have tried to configure the client without the parameter but it was added some to the 
SP descriptor
in SAML2MessageContext
 ()services = spssoDescriptor.getAssertionConsumerServices

how do I overcome this issue? how to use callback URL without client_name parameter??

thanks,
Eyal


Jérôme LELEU

unread,
Apr 29, 2021, 4:47:31 AM4/29/21
to Eyal Ben-Avraham, Pac4j users mailing list
Hi,

You can set at the client level: client.setCallbackUrlResolver(new NoParameterCallbackUrlResolver());
With that configuration, you won't have any client_name parameter.
This will work if you have only one client for this callback URL.
Thanks.
Best regards,
Jérôme


--
You received this message because you are subscribed to the Google Groups "Pac4j users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pac4j-users/4de48765-6dee-4061-a994-5848a1aae9c4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages