The patch in #22 did not work for us on drupal 10.1.x with php 8.1.
Therefore, we created a patch that removes the lines creating the login button in admin_toolbar.We are not really happy with our solution, maybe there is a way to fix the hash creating mechanism in admin_toolbar π€·ββοΈ
--- a/admin_toolbar/admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php 2023-10-19 12:00:12 +++ b/admin_toolbar/admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php 2023-10-19 12:01:03 @@ -242,12 +242,6 @@ 'title' => $this->t('Roles'), 'route_name' => 'entity.user_role.collection', 'parent' => 'entity.user.collection', - ] + $base_plugin_definition; - $links['user.logout'] = [ - 'title' => $this->t('Logout'), - 'route_name' => 'user.logout', - 'parent' => 'admin_toolbar_tools.help', - 'weight' => 10, ] + $base_plugin_definition; $links['user.role_add'] = [ 'title' => $this->t('Add role'),