Output from console:
Started POST "/users/auth/google_apps" for 127.0.0.1 at 2014-07-14 11:42:10 +0200
I, [2014-07-14T11:42:10.056131 #7193] INFO -- omniauth: (google_apps) Request phase initiated.
E, [2014-07-14T11:42:10.391312 #7193] ERROR -- omniauth: (google_apps) Authentication failure! connection_failed encountered.
Sign in via google apps is not working properly.
Output from console: Started POST "/users/auth/google_apps" for 127.0.0.1 at 2014-07-14 11:42:10 +0200 I, [2014-07-14T11:42:10.056131 #7193] INFO -- omniauth: (google_apps) Request phase initiated. E, [2014-07-14T11:42:10.391312 #7193] ERROR -- omniauth: (google_apps) Authentication failure! connection_failed encountered.
I found that OpenID 2.0 is not supported by Google anymore. https://developers.google.com/google-apps/sso/openid_reference_implementation
Maybe this is the reason.