nebari icon indicating copy to clipboard operation
nebari copied to clipboard

[bug] Grafana dashboard does not work when user does not have email stored in keycloak

Open costrouc opened this issue 3 years ago • 2 comments

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.

image

Expected behaviour

User should be able to login normally to <domain>/monitoring

Actual behaviour

User is denied entry into grafana

How to reproduce

  1. 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.

costrouc avatar Feb 03 '22 16:02 costrouc

The temporary fix is to assign an email within keycloak to the given user. Longer term we would like to think of a permanent solution. Or at least give the user a nicer error message.

costrouc avatar Feb 03 '22 17:02 costrouc

This is a user experience issue. The temporary fix is to login to Keycloak and ensure that the given user has an email address assigned. Moving to a future release to be properly fixed.

costrouc avatar Feb 08 '22 16:02 costrouc