Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn’t allow the creation of an admin account on new install #153

Open
airjer opened this issue Aug 3, 2024 · 2 comments
Open

Doesn’t allow the creation of an admin account on new install #153

airjer opened this issue Aug 3, 2024 · 2 comments

Comments

@airjer
Copy link

airjer commented Aug 3, 2024

figured I’d just make a new post to see if you’re active. If you look in the previous post this has been an issue since April.

@Qprq
Copy link

Qprq commented Nov 8, 2024

Still an issue on YunoHost 12. After installation, the app displays a login page (according to upstream, should display a user creation page). Trying to log with a YunoHost [email protected] doesn't work : login page shows "Invalid authentication: Request failed with status code 401".

komga.log:
INFO 153425 --- [task-22] o.g.k.i.security.LoginListener : AuthenticationActivity(userId=null, email=USERNAME, ip=X.X.X.X, userAgent=Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0, success=false, error=Les identifications sont erronées, dateTime=2024-11-08T21:03:46.051042356, source=Password)

@dalgwen
Copy link

dalgwen commented Jan 20, 2025

Quite the same issue here. I cannot login.

Not sure if my investigation is applicable to everyone, but the issue seems to be between the yunohost reverse proxy and komga. More precisely, it's probably some incompatibility with ssowat.
When I was using Yunohost 11, I could stil use komga by clearing the cookies and disconnecting from the main yunohost domain. Now in Yunohost 12, something must have changed, as it is no longer possible.

There is however a (dirty) workaround:

  • allow the "visitor" group to the komga app (maybe not needed)
  • edit the file /etc/nginx/conf.d/komga.roulleau.net.conf and comment out the TWO lines (for http and https)
    # access_by_lua_file /usr/share/ssowat/access.lua;

Security wise, it is not a good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants