Git Product home page Git Product logo

Comments (19)

jeromelebleu avatar jeromelebleu commented on June 4, 2024 2

@malmsey, @lapineige Thanks for your contribution offer! :) I'll let you know as soon as it needs tests, but currently I'm still waiting for reviews & feedbacks from Wallabag developers...

@malmsey The installation "works" and each YunoHost user is created in Wallabag.

from wallabag2_ynh.

malmsey avatar malmsey commented on June 4, 2024 1

Oh, I only now understand that not having LDAP authentication means the android app won't work. And I thought it was all a certificate problem on my end.
Any news on this front?

from wallabag2_ynh.

jeromelebleu avatar jeromelebleu commented on June 4, 2024 1

Any app using the API won't work isn't it ?

No, the LDAP integration is done with this app - contrary to the v1 package. It should work using the API. Please let me know if it's not the case.

from wallabag2_ynh.

raf64flo avatar raf64flo commented on June 4, 2024 1

Hi, I've just installed Wallabag 2.0.5 using your repository, it works like a charm even in Android app using the same parameters as for v1.9.2 (expect the token which I've regenerated).
Thanks a lot!

from wallabag2_ynh.

zero1Dre avatar zero1Dre commented on June 4, 2024 1

@tcitworld there is a client_id and client_secret section and also a username/password.
For the client_id/secret, I have created a client via the web interface and have copy-pasted the values in the iOS app (I have not generated a token via http POST however).
Thanks

E: am I the only one not able to authenticate via the iOS app?

from wallabag2_ynh.

malmsey avatar malmsey commented on June 4, 2024

Hello, and thanks for working on this package.

To what extent does it actually "work" right now? Is there a default account that I can sign into or do I have to wait for user management to be functional before I use wallabag? If I knew what I was doing I could answer this question myself or even contribute, but I have very little idea what I'm doing :).

from wallabag2_ynh.

lapineige avatar lapineige commented on June 4, 2024

For your information I've a test server available, if you need some tests from an user point-of-view, please ping me ;)

from wallabag2_ynh.

tcitworld avatar tcitworld commented on June 4, 2024

Hi,

@jeromelebleu Thanks a lot for your patch. We'll see to integrate it and make ldap user management as a setting as soon as possible (TM).

from wallabag2_ynh.

jeromelebleu avatar jeromelebleu commented on June 4, 2024

@tcitworld Thanks! Note anyway that I don't know a lot Symfony and that I didn't try with v3.1... But according to the official documentation, it seems that it didn't changed. I'll wait that you integrate it in Wallabag directly before publishing this app, what do you think?

from wallabag2_ynh.

jeromelebleu avatar jeromelebleu commented on June 4, 2024

@tcitworld Also, do you think there is a way to create Wallabag users "on the fly" when using LDAP authentication please?
In other words, when a new user is added in YunoHost - and so in LDAP, is it possible to create its relevant Wallabag user when he/she authenticate to Wallabag - instead of manually creating it with YunoHost hooks, as at the installation?

from wallabag2_ynh.

tcitworld avatar tcitworld commented on June 4, 2024

If I understand things correctly that may require something like FR3DLdapBundle.

from wallabag2_ynh.

lapineige avatar lapineige commented on June 4, 2024

Oh, I only now understand that not having LDAP authentication means the android app won't work. And I thought it was all a certificate problem on my end.

Any app using the API won't work isn't it ?
Except from the browser ? A webapp could do it ?
(yes I thinking to this: https://github.com/wallabag/wallabag-fxos - adapting it to be a pure webapp will allow android/ios/WP users to use it too)

from wallabag2_ynh.

malmsey avatar malmsey commented on June 4, 2024

It should work using the API. Please let me know if it's not the case.

I could not get the android app to work. Have you had a chance to test it?

E: and it appears I was doing something wrong. Works now. Thanks for putting this package together.

from wallabag2_ynh.

jeromelebleu avatar jeromelebleu commented on June 4, 2024

Great! Thanks for your tests & feedbacks!

from wallabag2_ynh.

zero1Dre avatar zero1Dre commented on June 4, 2024

Hi, I've just installed YunoHost and Wallabag 2 using your repository. Great job, thanks!

I have one issue however, which seems related to this thread (sorry if it isn't): the iOS app is not able to connect to my wallabag (user/pass not working). I have also created a client (client ID/pass). Is this related to the authentication API?

Does anyone have an idea as to why this isn't working (yet)?

Thanks

from wallabag2_ynh.

tcitworld avatar tcitworld commented on June 4, 2024

Isn't there a « http credentials » section in the iOS app ? It should correspond to your YunoHost credentials.

from wallabag2_ynh.

zero1Dre avatar zero1Dre commented on June 4, 2024

OK, so I may have found a dirty workaround. When creating the user in the wallabag database at installation, a random password is generated, which is then used by the iOS (and maybe Android) Wallabag app.

To work around this, I reset my wallabag password using the wallabag link (after having logged out of YunoHost SSO) then set the password to the username of my YunoHost instance.

Hope this helps.

from wallabag2_ynh.

JimboJoe avatar JimboJoe commented on June 4, 2024

From my understanding, the LDAP integration only works from the web interface, and doesn't work with oauth. It means it won't work with "modern" (Android, iOS, etc.) clients.
@zero1Dre workaround indeed works, but that is not satisfying as such.
@tcitworld Do you confirm the diagnostic and do you see any chance to implement complete LDAP integration on Wallabag side or make a better patch on the YunoHost app side?

from wallabag2_ynh.

JimboJoe avatar JimboJoe commented on June 4, 2024

The situation is OK now: OAuth login has been fixed here.
I propose to close this issue for now, as it's very frightening as opposed to the current package situation (working 100%).

from wallabag2_ynh.

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.