commit | ebe07c55e37f92c9df0d82f3be5ef58bfc437868 | [log] [tgz] |
---|---|---|
author | Michael Ochmann <michael.ochmann@sap.com> | Mon May 09 16:38:17 2016 +0200 |
committer | Michael Ochmann <michael.ochmann@sap.com> | Mon May 09 16:38:17 2016 +0200 |
tree | 9875c4cfeb43f4fbf083d69aefae83a9a3127837 | |
parent | 01b0efc98c1665594d43b37fdda1ee85117dac76 [diff] |
Add redirect parameter to logout URL The logout page of UAA has the capability to redirect back to an arbitrary URL [1]. Change the init step to write a logout URL with a redirect parameter pointing to the canonical web URL of Gerrit, so that a user can sign in again immediately. Note, recent versions of UAA switch off the redirect by default for security reasons. Make sure to uncomment the "logout" section in the login.yml configuration file of the UAA and add the Gerrit canonical web URL to the whitelisted redirect URLs. [1] https://github.com/cloudfoundry/uaa/blob/master/docs/login/Login-APIs.md#logout-get-logoutdo Change-Id: I0f581ff6897e77ffc5ec5677ab39a366b1685d2c Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
With this plugin Gerrit can use OAuth2 protocol to authenticate users accessing Gerrit's Web UI with a CloudFoundry User Account and Authentication (UAA) server. The Sign In
link will redirect the user to the UAA login screen.
For Git-over-HTTP communication users still need to generate and use an HTTP password.
Apache License 2.0