waj/redmine_google_apps — Issue #2: Unable to login using google apps
Author: bamuis
Created: 2012-01-27 18:39:46+00:00
State: open

After installing the plugin I am unable to login using my google apps account.

previously i could login using google open ID. however the problem was that it was automatically creating users irrespective of the authentication settings. Also I could no way restrict which domain users can login.

After installing this plugin I had to rename the directory redmine_google_apps to google_apps to get my redmine started.

After that when I add my domain, I see a link on the home page which says login with domain account.

However when I click on that link I get this error "Sorry, the OpenID server couldn't be found"

Also I see the following in the logs

Processing GoogleAppsController#login (for 127.0.0.1 at 2012-01-28 00:04:18) [GET]
Parameters: {"action"=>"login", "domain"=>"1", "controller"=>"google_apps"}
WARNING: making https request to https://www.google.com/accounts/o8/site-xrds?hd=www.domain.com without verifying server certificate; no CA path was specified.
[OPENID] HTTP Response status from identity URL host is not "200".Got status "400" for https://www.google.com/accounts/o8/site-xrds?hd=www.domain.com
Redirected to http://localhost/redmine/login
Completed in 288ms (DB: 0) | 302 Found [http://localhost/redmine/google_apps/login?domain=1]

Processing AccountController#login (for 127.0.0.1 at 2012-01-28 00:04:18) [GET]
Parameters: {"action"=>"login", "controller"=>"account"}
Rendering template within layouts/base
Rendering account/login
Completed in 176ms (View: 171, DB: 0) | 200 OK [http://localhost/redmine/login]

Can you please help me to fix this problem.