As explained here, I tried your solution and works great.
But when I implement a LogoutButton.js as documented on react-admin here, my handleClick() method is never called. It is like my all LogoutButton.js code is ignored.
Can you help? Have you tried to implement logout ? Thanks!