Giter VIP home page Giter VIP logo

Comments (15)

fflorent avatar fflorent commented on June 18, 2024 3

Version 0.17.0 is out now with the LDAP authentication: https://code.eliotberriot.com/funkwhale/funkwhale/commit/510844f31cc85fe9d2e43a47ed6322735743590e

from funkwhale_ynh.

agateblue avatar agateblue commented on June 18, 2024 2

@llinfrance when you login on the front-end (not the admin area) with the same username/password, it's not working?

Can you share a screenshot of the error in the login form?

from funkwhale_ynh.

Jibec avatar Jibec commented on June 18, 2024 1

@EliotBerriot can you help?

from funkwhale_ynh.

Jibec avatar Jibec commented on June 18, 2024

Hi, can you please explain what do you mean by "I am able to log in to the admin section." ?

from funkwhale_ynh.

anmol26s avatar anmol26s commented on June 18, 2024

I think @llinfrance means the Django interface i.e. /api/admin.
@llinfrance You have to use the same username which you had given at the time of installation and password is funkwhale. I hope you are not getting confused with this. If this don't work please clear your cache and try again.

from funkwhale_ynh.

llinfrance avatar llinfrance commented on June 18, 2024

Thank you for your answers.

@anmol26s is right : I meant that I was able to log in the Django interface, which also means that the username/password are corrects.

Moreover, I already tried clearing the cache.

Do you know where should I looked to read any error messages ?

from funkwhale_ynh.

PierrickBrun avatar PierrickBrun commented on June 18, 2024

Happens to me a lot too. I did several re-installs which did not work.
What I do now is to go into firefox's history and click "forget about this website" and everything works again.

I will try to send screenshots when it comes back. From what I remember, the login goes well and I receive an auth token, then when loading the library and stuff it says something like "username/password couple invalid". The error is not shown on screen, this is the HTTP error message associated with a 403, there is no error on screen, it just redirects to the login form as if the token expired.

from funkwhale_ynh.

PierrickBrun avatar PierrickBrun commented on June 18, 2024

As you can see the login answered with a 200 but then the following calls answer with a 401.
On login the token is well received ({token: xxx})

This is on firefox.

ksnip_20180822

from funkwhale_ynh.

agateblue avatar agateblue commented on June 18, 2024

@PierrickBrun do you use any kind of plugin in your web browser that could mess with localstorage? Do you reproduce the issue in other browsers or when disabling your browser extensions?

from funkwhale_ynh.

llinfrance avatar llinfrance commented on June 18, 2024

Hello guys, sorry for my long silence...

I did as @PierrickBrun mentionned, and it works partially. Clicking on "forget about this website" allowed me to log in ! Sometimes, I had to do it again as I am logged out after browsing somewhere in my funkwhale instance. (Firefox)

I try also with extensions disable, but it was the same. I have to "forget about this website". (Firefox)

I try also with Safari. It works. And then, I realized that the Administration showing in the left panel present in Safari was not present at all on Firefox ! I have no idea if this is related somehow.

from funkwhale_ynh.

llinfrance avatar llinfrance commented on June 18, 2024

It is me again, I just realized something : when I am logged in on my yunohost account, I am logged out on my funkwhale instance and vice et versa !
It might be a clue ?

from funkwhale_ynh.

PierrickBrun avatar PierrickBrun commented on June 18, 2024

Sorry I didn't have a chance to test again with a browser without add-ons (I need to be logged-in for a while on it before it happens).

What @llinfrance mentions about yunohost log-out is interesting, I use the same username on yunohost and funkwhale and that may be the cause of my problem too.
Also I think resolving #21 (and https://code.eliotberriot.com/funkwhale/funkwhale/issues/335) would correct it. Maybe we shouldn't waste time on this issue since the LDAP support is already planned and will handle it ?

from funkwhale_ynh.

rushsteve1 avatar rushsteve1 commented on June 18, 2024

The testing branch is on 0.17 which has LDAP.
And the PR I just made #37 bumps it to the released version and turns LDAP on. Still needs work but it's there.

from funkwhale_ynh.

Jibec avatar Jibec commented on June 18, 2024

Should work in the future: 3e44180

from funkwhale_ynh.

PierrickBrun avatar PierrickBrun commented on June 18, 2024

For the sake of good order, I confirm this is fixed with the 0.17 update and LDAP support

from funkwhale_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.