nebari icon indicating copy to clipboard operation
nebari copied to clipboard

[BUG] - User's without an email set cannot view grafana

Open dcmcand opened this issue 1 year ago • 1 comments

Describe the bug

If you have a user that does not have an email defined, and you click on the monitoring tab, you get either login.OAuthLogin(missing saved state) or login.oauthlogin(get info from generic_oauth) errors. Server logs show that this is due to Grafana not being able to retrieve the user's email.

Expected behavior

Users can log in if they have permissions to.

OS and architecture in which you are running Nebari

AWS EKS

How to Reproduce the problem?

Log in and create a user with a username and password, but no email address. Login to nebari using that user and try to navigate to the monitoring tab.

Command output

login.OAuthLogin(missing saved state) or login.oauthlogin(get info from generic_oauth)

Versions and dependencies used.

Nebari version 2023.11.1

Compute environment

None

Integrations

No response

Anything else?

No response

dcmcand avatar Dec 07 '23 19:12 dcmcand