MODX Community

Send URL parameters after login

Hello, using login extra:

[[!Login? 
    &loginResourceId=`18`
]]

I 'm looking for the way to send parameters to the page 18 that is the one to display after successful login.

so when the page id 18 opens it will looks like: https://page.com?param=1

Thank you very much!

You’re looking for loginResourceParams

[[!Login? 
    &loginResourceId=`18`
    &loginResourceParams=`{"param":1}`
]]
1 Like

Mate you are the best.
I was looking for that everywhere and can’t find a single reference.

Thank you very much!!! :grin: :grin: :grin: