I am trying to setup Gerrit
with OpenID
as access control. I need my google apps account
to be used as openID. I have tried a couple of ways to achieve this but so far not succesfull. This is what my gerrit config
looks like:
[auth]
type = OPENID
allowedOpenID = 'https://www.google.com/accounts/o8/site-xrds?hd=mysite.com'
For the above configuration, I am getting a Provider is not allowed
error while trying to login.
It works fine with normal google
account, but not with the google apps account
. I have already read many posts in stackoverflow
and gerrit
developer sites, but nothing have worked for me. Any help is appreciated.
EDIT:
The problem was using single quotes '
around the url. Howerver now there is a new issue: Once I sign-in and come back to my site it says:
The page you requested was not found, or you do not have permission to view this page
The URL redirected mysite.com/#SignInFailure,SIGN_IN,Provider+not+allowed
. Any idea ?