gerrit.config: |-
[gerrit]
# basePath = /var/mnt/git
[index]
type = LUCENE
[auth]
type = OAUTH
gitBasicAuthPolicy = HTTP
loginUrl = /login
[httpd]
requestLog = true
gracefulStopTimeout = 20s
[user]
name = Gerrit Code Review
email = ger...@example.com
anonymousCoward = Unnamed User
[container]
javaOptions = -Xms200m
javaOptions = -Xmx4g
[oauth]
allowedProviders = github
[plugin "gerrit-oauth-provider-github-oauth"]
client-id = 123456
client-secret = 1234567890
link-to-existing-openid-accounts = true
root-url = http://k8sgerrit-demo.eu-west-1.openci.oss.aws.arm.com
root-url = http://k8sgerrit-demo.eu-west-1.openci.oss.aws.arm.com/oauth
Could you please look into it and help me out in fixing this issue?
Regards,
Swapna
Could you please look into it and help me out in fixing this issue?
Regards,
Swapna
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/4bd4c0bb-42db-4d9b-b5ab-121dfbc082f3n%40googlegroups.com.
2 comments regarding your configuration. According to the documentation [1]:- The property "root-url" should point to the GitHub url: "https://github.com/". (I have been doing some local tests and it is not necessary to specify)
Yes, I can access the site.
2 comments regarding your configuration. According to the documentation [1]:- The property "root-url" should point to the GitHub url: "https://github.com/". (I have been doing some local tests and it is not necessary to specify)
Note, that since this commit: [1] oauth plugin supports GitHub Enterprise as well,in the context of this issue: [2], with custom "root-url" setting.- The property "link-to-existing-openid-accounts" is only used when you use Google OAuth Provider. Therefore you can remove it.