momentum
                                
                                 momentum copied to clipboard
                                
                                    momentum copied to clipboard
                            
                            
                            
                        Routing interceptor - initial page based on authorization logic
Hi!
Is there any way to handle some kind of "guard" for routing? How to handle token expiration? Right now the only solution is to check whether the token has expired on each page? Should I be able to override MomentumRouter.getActivePage(context), to apply my own logic for ActivePage?
This is an interesting idea. Currently, there's no available method for this. But this is possible.
Will look into it.
Can this be an immediate update ? Would really love to have this functionality.