Route picker in Security Restrict not allowing me to pass query param

Can anyone tell me how to pass the query param to the loginurl? I don’t mind using code, but I don’t know how to get it in there. This also doesn’t work: image