Ishaaq Chandy <
ish...@gmail.com> wrote:
> Has anyone else seen problems with using Google Apps based openid on
> Gerrit?
Yes. :-(
> When I try to login with my Google Apps openid url (which is of the
> form:
https://www.google.com/accounts/o8/site-xrds?hd=example.com) I
> get redirected to Google's openid login/auth process successfully but
> then when I get redirected to Gerrit my user is not registered. Gerrit
> is not alone in this, I tested against other openid sites like
>
stackoverflow.com (which does give me an error unlike Gerrit).
>
> So, further investigation revealed that apparently google's "Federated
> Login for Google Account Users" uses a proprietary openid extension (I
> might have worded this wrong - if so forgive me - I am new to this)
> which means that not all sites support openid urls originating from
> Google Apps accounts.
>
> Has anyone else seen this behaviour with Gerrit? Are there any
> workarounds that will allow me to use Gerrit with Google Apps account
> logins?
The current work-around is to register a second Google Account that
matches the email address of your Google Apps account. Its ugly,
but it works, and is what the @
android.com domain users are using.
Go to
https://www.google.com/accounts/NewAccount to create a new
account. Enter your Google Apps email address. Select the same
(or a new) password.
Now when you use Gerrit Code Review, or any other OpenID site,
use the normal Google OpenID URL (like for Gmail accounts) and,
enter this email address and password.
It can be a bit confusing, because you really do have two different
accounts now with Google, and they have the exact same email address.