Closed guidotripaldi closed 7 years ago
I am not sure about this solution. It seems like there is a bit of guesswork involved when working out the endpoint name.
I am going to think about it a bit more, and then look at this problem again tomorrow :)
I think I will probably change it so that the endpoint and token_salt will be passed in the opts (perhaps overriding a value defined in the config).
I agree. In addition this solution is not general, solves only the endpoint problem, it is not suitable for extracting the salt or other parameters.
Instead to look for the configuration, the function now get the current app name and build from it the actual namespaced endpoint