There is a way to generate an access token that will allow fetching information for one particular user?
Because I don’t want to use query parameters for security reasons.
Maybe do you know a way to do the same stuff from rules?
Because we have a lot of code and it will be not easy to transfer all of them into the actions
I am not 100% sure but I think you can’t do this with rules. but in your case, if you can decouple redirection-related logic from the current rule and put it into action and it will be a secure approach.
because in our example we are doing the same thing with (actions) and if you really want to use rules just throw and access deny error and handle logic by yourself.