Coder Social home page Coder Social logo

Comments (6)

joshoram80 avatar joshoram80 commented on June 26, 2024

Has this been pushed to a docker image yet? I'm using :nightly and I still can't login on Chrome mobile, regardless of login method set for the user. As long as I have OIDC enabled in any way, login is broken.

from mealie.

Kuchenpirat avatar Kuchenpirat commented on June 26, 2024

This is included in the nightlies, but has not been included in a 'proper' release.
You might want to try upgrading to nightly temporarily and check if that helps.

image: ghcr.io/mealie-recipes/mealie:nightly

from mealie.

joshoram80 avatar joshoram80 commented on June 26, 2024

I am already using nightly. I'll try purging the image and repulling

from mealie.

joshoram80 avatar joshoram80 commented on June 26, 2024

I'm still getting an infinite reload with the latest nightly image.

27/04/2024
13:42:56
INFO     2024-04-27T13:42:56 - [120.21.87.170:0] 401 Unauthorized "GET /api/users/self HTTP/1.1"
27/04/2024
13:42:56
INFO     2024-04-27T13:42:56 - [120.21.87.170:0] 500 Internal Server Error "POST /api/auth/token HTTP/1.1"
27/04/2024
13:42:56
ERROR    2024-04-27T13:42:56 - Exception in ASGI application
27/04/2024
13:42:56
Traceback (most recent call last):
27/04/2024
13:42:56
  File "/opt/pysetup/.venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1971, in _exec_single_context
27/04/2024
13:42:56
    self.dialect.do_execute(
27/04/2024
13:42:56
  File "/opt/pysetup/.venv/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 919, in do_execute
27/04/2024
13:42:56
    cursor.execute(statement, parameters)
27/04/2024
13:42:56
sqlite3.IntegrityError: UNIQUE constraint failed: users.username
27/04/2024
13:42:56

from logs

from mealie.

cmintey avatar cmintey commented on June 26, 2024

Looks like you have an existing user in Mealie that you're trying to link to from your IdP. By default Mealie uses the email from your IdP to link accounts, so your account in Mealie should have the same email. Alternatively, you can change the link to be username-based by setting this environment variable: OIDC_USER_CLAIM=preferred_username

from mealie.

joshoram80 avatar joshoram80 commented on June 26, 2024

Seems to be working now. Thanks!

from mealie.

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.