Changing Token Lifespan

Created on 2023/03/06, cells, share
Category: 

Token lifespan (typically the JWT token) can be configured in the main pydio.json

{
    "services": {
        ...
        "pydio.web.oauth": {
            ...
            "accessTokenLifespan": "10m",
            "refreshTokenLifespan": "60d"
        }
    }
}

Make sure to restart afterward.

Note: the refresh token can be used only once.