How to use Grafana with my private OAuth server?

Hello Everybody
I got the problem, I want use .net Core IdentityServer4 to Login OAuth.
I can not use that because I don’t know what the Grafana “AllowedScopes” is what
and “AllowedGrantTypes” is what

this is my Client setting

new Client
** {**
** ClientId = “cas.mvc.client.implicit”,**
** ClientName = “CAS MVC Web App Client”,**
** AllowedGrantTypes = GrantTypes.Implicit,**
** RedirectUris = { “http://XXXXXXXX:3000/login/generic_oauth” },** ** PostLogoutRedirectUris = { “http://XXXXXXXX:3000/” },**
** AllowedScopes = new [] {**
** IdentityServerConstants.StandardScopes.OpenId,**
** IdentityServerConstants.StandardScopes.Profile,**
** “agentservice”, “clientservice”, “productservice”**
** },**
** AllowAccessTokensViaBrowser = true // can return access_token to this client**

** },**

XXXXX is my Gafana Sever ip

and what i do setting to

auth_url =
token_url =
api_url =

I has
XXXXX/connect/userinfo
and
XXXXX/connect/token

I don’t know how to set it up