commit | 5258dd72a63a8e5e90161caf8c4df4b92ea0a53e | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Wed Mar 18 08:39:43 2015 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Wed Mar 18 08:39:43 2015 +0100 |
tree | 90072ffa6501188c757b32cc11888a128971514e | |
parent | b070d3d5c6dfc58d068bbd010fbb15860d756b38 [diff] |
Add log messages to troubleshoot OAuth/OpenID linking
This plugin depends on small extensions to supported OAuth authentication point, that still pending for review. To build the plugin against stable-2.10 Gerrit tree, these changes must be cherry-picked: [1],[2] and [3].
As of April 20, 2015 Google shuts down its deprecated OpenID 2.0 provider. To simplify the migration google-oauth-povider plugin seamlessly supports linking of OAuth identity to existing Gerrit accounts. To activate it, add the following configuration option to plugin config section:
[plugin "gerrit-oauth-provider-google-oauth"] client-id = "<id>" client-secret = "<secret>" link-to-existing-openid-accounts = true