Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.9
-
None
-
Unknown
-
N/A
-
N/A
-
Description
The last segment of baseRestURL is /admin in https://github.com/xwiki-contrib/cristal/blob/05bc526fbe70c1e7328bd65e9d3e2d9cbdfd70d0/web/public/config.json#L128
It corresponds to the id of the connected user and shouldn't be part of the configuration.
Fix
- remove /admin from baseRestURL
- get currently authenticated user id and add it to the segment when forging Nextcloud requests