[plugin "gerrit-oauth-provider-google-oauth"]
client-id = "<id>"
client-secret = "<secret>"
link-to-existing-openid-accounts = true
--
--
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.
For more options, visit https://groups.google.com/d/optout.
I'm pleased to announce, that Hybrid OpenID+OAuth2 authentication scheme is available: [1].
David,Thank you so much for your work on this! The OpenID doomsday is almost upon us!I've been working on this migration for my company, and would like to use your OAuth2 plugin but so far I'm having only mixed success. I can easily enable the OAuth2 google plugin by following the directions, but the accounts don't seem to be linked. Here are the strategies I've followed:First I built gerrit-oath-provider.jar from your latest checkin, and I've built a gerrit release.jar from the 2.10.2 release plus this one change (the other three seemed to be already included): https://gerrit-review.googlesource.com/663131. Restore from backup (we've been running 2.10)2. Add gerrit-oauth-provider.jar to site/plugins3. Run java -jar release.jar init -d site/4. Select auth provider OPENID5. Select enable google oauth with necessary client id and secret
This results in being able to login when clicking "Google OAuth2 (gerrit-oauth-provider plugin)" but unfortunately it seems to be a new account, not linked to the old OpenID account.I then also tried:1. Restore from backup (we've been running 2.10)2. Add gerrit-oauth-provider.jar to site/plugins3. Run java -jar release.jar init -d site/4. Select auth provider OAUTH5. Select enable google oauth with necessary client id and secret
But the results are the same.What steps do I need to take to enable the linking of old OpenID accounts?
On Sunday, April 5, 2015 at 7:43:50 PM UTC+3, Paul Groudas wrote:David,Thank you so much for your work on this! The OpenID doomsday is almost upon us!I've been working on this migration for my company, and would like to use your OAuth2 plugin but so far I'm having only mixed success. I can easily enable the OAuth2 google plugin by following the directions, but the accounts don't seem to be linked. Here are the strategies I've followed:First I built gerrit-oath-provider.jar from your latest checkin, and I've built a gerrit release.jar from the 2.10.2 release plus this one change (the other three seemed to be already included): https://gerrit-review.googlesource.com/663131. Restore from backup (we've been running 2.10)2. Add gerrit-oauth-provider.jar to site/plugins3. Run java -jar release.jar init -d site/4. Select auth provider OPENID5. Select enable google oauth with necessary client id and secret
Sounds good to me. I will upload release.war
based on 2.10.2 + hybrid change + bundled plugin
on plugin's GH release page, to simplify this setup.
Not sure if the best thread for this, but since using this plugin, the login URLs have been off and not working. Anyone using the site clicks on Sign In and then is presented with the Sign In screen with the options GitHub, Google(Oauth), LaunchPad, Yahoo. If you click on GitHub or Google, it just changes the URL and refreshes the window and then provides the following URL:From this point, the two URLs don't do anything more than reloading the same Sign In page. The only way to get things to work is to click on the LaunchPad option which then refreshes the window again and provides the following URL:The only thing I can see is that the URL isn't getting encoded properly in the 'broken' state, but not sure if there is anything I need to do on my end or if this is a bug within gerrit or plugin. I don't see any see any errors in the logs during this process either.Let me know if you need anymore information to help narrow this down or if you'd rather me start a new thread.
On Sunday, April 12, 2015 at 8:06:39 AM UTC-4, David Ostrovsky wrote:
Am Montag, 6. April 2015 14:16:19 UTC+2 schrieb David Ostrovsky:
On Sunday, April 5, 2015 at 7:43:50 PM UTC+3, Paul Groudas wrote:David,Thank you so much for your work on this! The OpenID doomsday is almost upon us!I've been working on this migration for my company, and would like to use your OAuth2 plugin but so far I'm having only mixed success. I can easily enable the OAuth2 google plugin by following the directions, but the accounts don't seem to be linked. Here are the strategies I've followed:First I built gerrit-oath-provider.jar from your latest checkin, and I've built a gerrit release.jar from the 2.10.2 release plus this one change (the other three seemed to be already included): https://gerrit-review.googlesource.com/663131. Restore from backup (we've been running 2.10)2. Add gerrit-oauth-provider.jar to site/plugins3. Run java -jar release.jar init -d site/4. Select auth provider OPENID5. Select enable google oauth with necessary client id and secret
Sounds good to me. I will upload release.war
based on 2.10.2 + hybrid change + bundled plugin
on plugin's GH release page, to simplify this setup.Done in [1].It turns out that Buck is hard to install, it has too many dependenciesand it's still a challenge to build patched Gerrit release with plugin(with support for both standalone and in Gerrit-tree build modes).
--
--
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.
For more options, visit https://groups.google.com/d/optout.
I think that DavidO’s plugin (master branch) should compile and work on 2.11, isn’t it?