mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-20 12:47:13 +00:00
parent
e87c540a87
commit
4ee52b7161
|
@ -163,7 +163,7 @@ func createProvider(providerName, providerType, clientID, clientSecret, openIDCo
|
||||||
profileURL = customURLMapping.ProfileURL
|
profileURL = customURLMapping.ProfileURL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
provider = gitlab.NewCustomisedURL(clientID, clientSecret, callbackURL, authURL, tokenURL, profileURL)
|
provider = gitlab.NewCustomisedURL(clientID, clientSecret, callbackURL, authURL, tokenURL, profileURL, "read_user")
|
||||||
case "gplus":
|
case "gplus":
|
||||||
provider = gplus.New(clientID, clientSecret, callbackURL, "email")
|
provider = gplus.New(clientID, clientSecret, callbackURL, "email")
|
||||||
case "openidConnect":
|
case "openidConnect":
|
||||||
|
|
Loading…
Reference in a new issue