nebari-dev / nebari-dev/nebari-docs
Grafana dashboard does not work when user does not have email stored in keycloak
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 21
- Forks
- 40
- Avg merge
- 19h 50m
- Merged PRs (30d)
- 6
Description
Describe the bug
Description
When QHub user does not have an email for that given user grafana/monitoring throws an error when visiting the page and single sign on kicks in.

Expected behaviour
User should be able to login normally to <domain>/monitoring
Actual behaviour
User is denied entry into grafana
How to reproduce
- Create a user in keycloak that does not have an email address with username and password.
Solution
Need to brainstorm proper solutions for this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproduction steps and inspect the Grafana monitoring sign-on flow involving Keycloak users without email addresses. Compare the expected and actual behavior, then determine and document an agreed solution; the issue does not name files or tests, and its solution is still open for discussion.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, observability
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100