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

OIDC Anonymous User Creation Can't be Managed Through Interface #2129

Open
4 tasks done
algallucci opened this issue Sep 13, 2024 · 6 comments
Open
4 tasks done

OIDC Anonymous User Creation Can't be Managed Through Interface #2129

algallucci opened this issue Sep 13, 2024 · 6 comments
Labels
🐛 Bug Something isn't working

Comments

@algallucci
Copy link

Environment

Docker

Version

0.15.4

Describe the problem

I'm newly setting up OIDC through Authentik and didn't have it passing the correct scopes through. While the log in originally worked, it was an anonymous login. Now that I have the admin group passing OK, I can't manage the "normal" users that were created, the application returns nothing but I can see that there are two normal users that are there.

I was able to resolve the issue myself by going into the database and removing the offending users and now it works fine.

Logs

homarr | Exporting hostname...
homarr | Migrating database...
homarr | yarn run v1.22.19
homarr | $ ts-node ./migrate.ts
homarr | Done in 1.42s.
homarr | Starting production server...
homarr | Listening on port 7575 url: http://d86a3f03351f:7575
homarr |
homarr | WARN no groups found in profile of oidc user
homarr |
homarr |
homarr | WARN no groups found in profile of oidc user
homarr |
homarr | Exporting hostname...
homarr | Migrating database...
homarr | yarn run v1.22.19
homarr | $ ts-node ./migrate.ts
homarr | Done in 1.32s.
homarr | Starting production server...
homarr | Listening on port 7575 url: http://d86a3f03351f:7575
homarr |
homarr | WARN no groups found in profile of oidc user
homarr |
homarr | ℹ Local icons repository directory exists and contains 0 icons
homarr | ℹ Local icons repository directory exists and contains 0 icons

Context

In the first screenshot, you can see my two admins (the original one I used username/pass for and the new one with OIDC). Once I click into the normal users (or all), it thinks for a few seconds and then shows nothing.
homarr bug screenshot1
homarr bug screenshot2

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@algallucci algallucci added the 🐛 Bug Something isn't working label Sep 13, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Homarr Kanban Sep 13, 2024
Copy link

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

@algallucci
Copy link
Author

I should also mention that I’m happy to take a look at the SQL being executed to help (or anything else you need for that matter).

@manuel-rw
Copy link
Collaborator

manuel-rw commented Sep 15, 2024

@Meierschlumpf @SeDemal can you have a look at this issue? Should we fix this before 1.0 (#1993)?

@Meierschlumpf
Copy link
Collaborator

Can you maybe provide us the logs in the browser and a screenshot of the full table where all 4 users are shown?

@algallucci
Copy link
Author

I am unable to give any more logs as I went in the database and manually removed the users.

That said, the second screenshot I shared does the same as all, the only users I was able to see were admin as it didn’t have the anonymous user. All just hung and didn’t return anything.

@Meierschlumpf
Copy link
Collaborator

Okay weird

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
Status: 🆕 New
Development

No branches or pull requests

3 participants