- Issue created by @Grevil
Currently, we generate the hash using the plugin route and the secret. I talked internally @anybody, that this would suffice for our current use-case, but might be a bit dangerous in other cases.
The problem is, that a widget provider can have dynamic required and optionalParameters and we can't generate a checksum for every possibility. E.g. "nid" is a required parameter. If we want to use the required parameters in our checksum, we would need to generate a hash for every nid there is, and compare the incoming checksum with all of them. This isn't really a good idea and would scale even more, if we had multiple parameters...
So we could:
We should also think about the Sequence of the parameters. We currently always need them in the specific sequence given by the list. Otherwise, it fails.
Improve the checksum creation / validation.
Active
1.0
Code