GithubHelp home page GithubHelp logo

Comments (8)

cdujeu avatar cdujeu commented on September 26, 2024

Hello @romaduban

Thanks for posting. We may have identified an issue indeed, after we fully changed the authentication brick in the 2.1.X version of the server. We'll get back to you shortly.

Charles

from cells-sync.

romaduban avatar romaduban commented on September 26, 2024

Thanks.

I also use cells-sdk on the server and I changed configuration property useTokenCache to false to have it workable after the update.

from cells-sync.

cdujeu avatar cdujeu commented on September 26, 2024

mm, i don't think it is linked. cells-sdk-go uses the credentials flow to login, not the token+refresh one
are you up-to-date with cells-sdk-go ?

from cells-sync.

romaduban avatar romaduban commented on September 26, 2024

the main issue with cells-sync.

just let you know that after update Cells on my server the custom application that based on cells-sdk-go also had the issue but I was able to resolve the issue with change the property. I am not sure is it related

from cells-sync.

cdujeu avatar cdujeu commented on September 26, 2024

Ok so it seems that the issue comes from the refresh token expiry time, that was drastically reduced to 1 hour .... So if you cells-sync is closed for more than one hour, you have to reconnect... 👎
For the moment, you can solve that with the following line in your server pydio.json (look for pydio.web.oauth part ) :

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

this should solve the issue

from cells-sync.

romaduban avatar romaduban commented on September 26, 2024

@cdujeu , Thank you so much for your help.
I really appreciate your quick response and willingness to help.

I have added the record "refreshTokenLifespan": "60d", to pydio.json on the server.
I hope it will resolve the issue.

from cells-sync.

cdujeu avatar cdujeu commented on September 26, 2024

@romaduban
My bad, "60d" notation is not supported in go, this will still not work.
Set "1440h" instead for the parameter value, and restart ;-)
-c

from cells-sync.

romaduban avatar romaduban commented on September 26, 2024

@cdujeu , Thank you for the update.
just noticed that previous value did not resolve the issue.
I have updated it with "1440h" and look at how it will work

from cells-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.