Reroute from NEW_SESSION


NEW_USER, NEW_SESSION, and LAUNCH are all implemented. The standard functionality is to call those handlers in that order.

Is there a way in NEW_SESSION to conditionally redirect to FooHandler without calling ON_REQUEST or LAUNCH? One branch of the condition will continue the flow to LAUNCH.


How would you do this with a Hook?


I think right now this isn’t possible. Need to check in with @AlexSwe about that.

Maybe you could have some condition on your ON_REQUEST to skip it:

   if (this.$data.SkipRequestHandler) {
   // ...


There’s no builtin solution for this. I would recommend Jan’s approach.