AUTH global function is recieving undefined in $.params
Hi, I am having a problem with the AUTH global, I am trying to evaluate some GET routes based on a param they send in the route... but when I try to get the value, I get this error
Cannot destructure property 'clientid' of '$.params' as it is undefined
any idea of what I may be doing wrong?....
@LandyCuadra. The framework executes the AUTH() method before is evaluated routing because the routing needs information about the result from the AUTH() method.
$.paramsis parsed after routing
so there si no way to do that?, because the documentation shows I could access those properties..
https://docs.totaljs.com/total4/407ff001jy51c/#4893f001wa51c -> in "+possibilities"
My mistake. It's fixed. Thank you
great!, thank you