| Issue 1306: | Allow HTTP authentication & anonymous access | |
| 5 people starred this issue and may be notified of changes. | Back to list |
Following up http://groups.google.com/group/repo-discuss/browse_thread/thread/d0118e8c9541a21b/a15a94ed85cac5ce Following up https://bugreports.qt-project.org/browse/QTQAINFRA-357 It would be nice to have a way to enable anonymous access to Gerrit (without having to log in) when it's configured with auth.type = HTTP Right now, people can't just see a change if they don't have a valid user in Gerrit, which is annoying. This should work in the same way as auth.type = LDAP works.
Mar 27, 2012
#1
sahum...@gmail.com
Mar 27, 2012
Patches need to be uploaded to Gerrit to be reviewed and accepted. We can't work with patches floating around on issue trackers.
Mar 27, 2012
It's not my patch so I can't upload it to Gerrit.
Dec 6, 2014
I had a look at the code and anonymous access with HTTP authentication can be configured using the following settings. In gerrit.conf: [auth] type = HTTP loginUrl = http://<host>/gerrit/login/ Also the container must be configured to request authentication for http://<host>/gerrit/login/ only and not for http://<host>/gerrit/ I tried it using an Apache reverse proxy. It seems to work, but I did not test in too much depth. |
|
| ► Sign in to add a comment |