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

[Bug]: Avatar with OIDC not persistent #2056

Open
1 task done
Dual-0 opened this issue Mar 10, 2024 · 2 comments
Open
1 task done

[Bug]: Avatar with OIDC not persistent #2056

Dual-0 opened this issue Mar 10, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Dual-0
Copy link

Dual-0 commented Mar 10, 2024

What happened?

Hello,

I used authentik to login via OIDC. When I set the avatar and logout and login again the avatar is gone.

Steps to Reproduce

  1. install librechat-dev, mongo and meilisearch container from scratch.
  2. login via authentik
  3. go to settings -> account -> avatar
  4. choose file and upload
  5. wait for confirmation
  6. notice the avatar in the left-bottom corner
  7. logout
  8. login via authentik
  9. gone

What browsers are you seeing the problem on?

Vivaldi on Windows

Relevant log output

sorry I don't see anything in the dev-librechat container log

Screenshots

login:
image

choose image:
image

confirmation:
image

avatar:
image

logout and login again... gone:
image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Dual-0 Dual-0 added the bug Something isn't working label Mar 10, 2024
@berry-13
Copy link
Collaborator

in OpenID, many things don't work (including this) since I didn't have time to implement this feature. I'll work on this today 👍

@danny-avila
Copy link
Owner

@berry-13 I think the root issue is that if OIDC avatar fetching fails, we reset the avatar to a blank string. it should be left alone if there is already an avatar and no new image is fetched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants