No Thumbnail (media and layouts) via CAS Authentication

Hello,
I have a new installation of Xibo CMS in Version 4.0.12.

Everything works perfectly when I use local authentication.

However, when I activate CAS authentication via my settings-custom.php file, authentication works perfectly, I have access to everything, but I no longer have any visualization in either layout or media, which is very annoying.

If I deactivate CAS authentication, it works perfectly again.
Attached are the screenshots.

Without CAS (with same user)
Capture d’écran du 2024-07-04 10-48-19

With CAS (with same user)
Capture d’écran du 2024-07-04 10-48-49

Thank you for your help

Samuel