Failed to load "nextcloud office"

hi @pierre-yves56 welcome to the forum :handshake:

take a look at this guides:

sounds like the request from Collabora is redirected to some Identity Provider - are you running some OAuth in front of your systems? do you force all connections to authorize first before connecting to Nextcloud application?

this logs from you NC are weird as well because of /cool prefix… this wrong somehow

2a01:cb08:8442:4b00:3109:5dbb:d9a6:560e - py [05/Apr/2023:18:30:47 +0000] "GET /cool/https%3A%2F%2Fintra.resohabitat.fr%2Fnextcloud%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F61_oc6ir6cb8wmj%3Faccess_token%3Dgtt1GVYghmww00iwVd8y7D5UzCz1nCNm%26access_token_ttl%3D1680755445000/ws?WOPISrc=https%3A%2F%2Fintra.resohabitat.fr%2Fnextcloud%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F61_oc6ir6cb8wmj&compat=/ws HTTP/1.1" 101 114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0"
2a01:cb08:8442:4b00:3109:5dbb:d9a6:560e - py [05/Apr/2023:18:30:48 +0000] "GET /cool/https%3A%2F%2Fintra.resohabitat.fr%2Fnextcloud%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F61_oc6ir6cb8wmj%3Faccess_token%3Dgtt1GVYghmww00iwVd8y7D5UzCz1nCNm%26access_token_ttl%3D1680755445000%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2Fintra.resohabitat.fr%2Fnextcloud%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F61_oc6ir6cb8wmj&compat=/ws HTTP/1.1" 101 114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0"
2a01:cb08:8442:4b00:3109:5dbb:d9a6:560e - py [05/Apr/2023:18:30:48 +0000] "GET /cool/https%3A%2F%2Fintra.resohabitat.fr%2Fnextcloud%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F61_oc6ir6cb8wmj%3Faccess_token%3Dgtt1GVYghmww00iwVd8y7D5UzCz1nCNm%26access_token_ttl%3D1680755445000%26permission%3Dedit/ws?WOPISrc=https%3A%2F%2Fintra.resohabitat.fr%2Fnextcloud%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F61_oc6ir6cb8wmj&compat=/ws HTTP/1.1" 101 114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0"