Yes you can use them inside the AMD module but keep in mind once you add an event listener on the window object it will be called everytime there is an action:ajaxify.end. If you don't want it triggered after you leave that page you need to turn it off with $(window).off('eventName', myMethod)
Redirect sso plugins to custom route
Rahil Wazir Ali last edited by
How do I redirect
sso-*plugins after successful log in to a custom route instead of homepage
This is an old post, but have you found a solution? I have the exact same problem. I need a new user to be redirected to profile edit page to enter the email address.