Can I access query parameters in Velocity templates?

Wessel, Keith kwessel at illinois.edu
Tue Apr 21 17:18:31 UTC 2026


I think the answer is no, but I wanted to make sure.

I've already got our logout.vm redirecting to Entra's logout endpoint, but I've had a request to try and pass an extra parameter sent by the originating SP to Entra's logout endpoint. That means passing it through /idp/profile/Logout, through the template, and appending it to the Entra logout URL. For all kinds of reasons, I'm thinking it's a bad idea, but I'm wondering if it's even possible.

If it is possible, how would I access query parameters in the Velocity template?

Thanks,
Keith



More information about the users mailing list