Hello,
I have developed a Nextcloud plugin for the monitoring solution CheckMK (see Checkmk Exchange).
Currently Iām adapting this plugin to changes in version 28 and Iām experiencing a strange problem:
If I run the script which gathers all the Nextcloud information from the command line, it works fine.
If I run the script from within the Web GUI of CheckMK, it fails with 401 error (ānot authorizedā). And if I click on the link which is presented by the error message, then I get the message ā{āerrorā:āStrict cookie has not been found in requestā}ā.
I have tried several approaches with setting the āSameSiteā-Cookie to āStrictā, but nothing was successfull. I even donāt know whether Iām working ih the right direction hereā¦
Does anyone know about some minor changes with version 28 when requesting the API of Nextcloud, especially what cookies are concerned?
And please excuse me to create this topic here, maybe it is a CheckMK related problem. But the plugin worked for all version of Nextcloud from 25 onwards with all versions/editions of CheckMK - until now.
Best regards
ā
ZapBee
By the way: All my Nextcloud installations are based on the official docker image.