I wrote to migrate Old Ajaxplorer to Pydio 8 but not migrate the server yet so I’m trying to adapt it to Pydio Cells.
I try searching some doc about OAuth2 with python but I didn’t found anything working yet with Pydio Cells API.
I’m able to retrieve an authentication token but not able to do a request on the API. I also try some libs like OAuthlib but no success.
I finally be able to have something working by building requests and headers. But it would be nice to use an advanced lib like OAuthlib to manage and refresh token properly but it’s could enough for scripting.
Is it possible to increase the token validity period?
Yes, you can extends JWT validity period by manually editing the pydio.json config file that is in your installation directory (typically: ~/.config/pydio/cells/pydio.json, if you installed it on a linux machine folloing the Admin Guide)