Comments (15)
Version 0.17.0 is out now with the LDAP authentication: https://code.eliotberriot.com/funkwhale/funkwhale/commit/510844f31cc85fe9d2e43a47ed6322735743590e
from funkwhale_ynh.
@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.
@EliotBerriot can you help?
from funkwhale_ynh.
Hi, can you please explain what do you mean by "I am able to log in to the admin section." ?
from funkwhale_ynh.
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.
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.
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.
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.
from funkwhale_ynh.
@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.
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.
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.
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.
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.
Should work in the future: 3e44180
from funkwhale_ynh.
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)
- Incorrect Data Directory Location HOT 2
- Upgrade failed HOT 1
- Warning in diagnosis HOT 2
- Upgrade/install fail on arm architecture HOT 13
- AttributeError: 'AnonymousUser' object has no attribute 'get_channels_groups' HOT 1
- Need help with reverse proxying Funkwhale since it needs its own subdomain instead of subpath HOT 1
- Installation fails HOT 1
- Sharing Link results in HTML Error 405 HOT 1
- Peer authentication failed for user "funkwhale" then e_sendauth: no password supplied HOT 1
- pip version in Yunohost 11 HOT 3
- funkwhale-beat doesn't start HOT 27
- `funkwhale-server` times out on startup HOT 2
- Can't register new user HOT 4
- Installation Error (RPi 4) HOT 4
- Change of maintainer HOT 1
- YunoHost documentation link for this app link produces a strange HTTP error HOT 4
- WebSocket connection refused with 403 after update to 1.3.0 HOT 8
- "The track cannot be loaded" after upgrade to 1.3.0 HOT 47
- android app does not connect to instance HOT 2
- Fresh install fails due mismatching checksum HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funkwhale_ynh.