nebari
nebari copied to clipboard
[BUG] - User's without an email set cannot view grafana
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