Login issue after upgrade to v10

  • What Grafana version and what operating system are you using?
    Grafana version is 10.0.3, OS is Ubuntu 22.04 LTS

  • What are you trying to achieve?
    Using Auth0 to login to dashboard deployed.

  • How are you trying to achieve it?
    From the login page, click a button to login.

  • What happened?
    The login no longer works after upgrade.

  • What did you expect to happen?
    I should be able to login.

  • Can you copy/paste the configuration(s) that you are having problems with?
    Hope this helps. Sensitive bits were replaced.

name = Auth0
enabled = true
allow_sign_up = false
team_ids =
allowed_organizations =
client_id = SOME_STRING
client_secret = SOME_STRING
scopes = openid profile email
auth_url = https://SOMETHING.au.auth0.com/authorize
token_url = https://SOMETHING.au.auth0.com/oauth/token
api_url = https://SOMETHING.au.auth0.com/userinfo
use_pkce = true
login_attribute_path = preferred_username
name_attribute_path = preferred_username
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    Screenshot attached. Log message extracted below.
logger=oauth t=2023-07-26T23:44:33.508841846+10:00 level=info msg="state check" queryState=0f778e5997503afd0c5d13956a6c5914c81070bec4659c4b2b5b2b9ba5ffa4d3 cookieState=0f778e5997503afd0c5d13956a6c5914c81070bec4659c4b2b5b2b9ba5ffa4d3
logger=context userId=0 orgId=0 uname= t=2023-07-26T23:44:33.684307704+10:00 level=warn msg="Not allowing login, user not found in internal user database and allow signup = false" authmode=oauth_generic_oauth
logger=context userId=0 orgId=0 uname= t=2023-07-26T23:44:33.68437835+10:00 level=warn msg="system administrator has disabled signup"
logger=context userId=0 orgId=0 uname= t=2023-07-26T23:44:33.691116963+10:00 level=info msg="Request Completed" method=GET path=/login/generic_oauth status=302 remote_addr= time_ms=182 duration=182.721442ms size=29 referer=https://portfolio.hardsoftware.com/ handler=/login/:name
  • Did you follow any online instructions? If so, what is the URL?


If anyone could help us out, that would be great. Thank you.


Error indicates that you need allow_sign_up = true.

It is also good idea to read breaking changes before upgrade. I believe this problem is related to Breaking changes in Grafana v10.0 | Grafana documentation

Thank you for the information. You were right, breaking changes involved. I followed documentation and managed to log in.

Now, a different issue. Dashboard shows the message below.


Further checking on Firefox browser, I found this.

I am by no means a developer, hence have no idea what this means. The dashboard page seems working okay though.

Could I please get some information regarding this? Cheers.