Whenever I enable simplesamlphp_auth module , it doesn't allow to other modules to execute hook_user_logout , so if I want to delete some cookies once the user logouts its not allowing to execute user_logout hook.

Comments

hitesh-jain created an issue. See original summary.

bradjones1’s picture

Status: Active » Closed (won't fix)
Related issues: +#2604058: Support Single Sign Out

This is true, it's poor form to short-circuit that hook, however especially when implementing SLO, there aren't a lot of good other options.

One way you could ensure your other hooks fire first would be to adjust the module weight. See https://api.drupal.org/api/drupal/core%21includes%21module.inc/function/...

Also see related - #2604058: Support Single Sign Out