twinslash / redmine_omniauth_google

This plugin is used to authenticate in redmine through Google.
http://www.redmine.org/plugins/redmine_omniauth_google
94 stars 103 forks source link

problem using plugin in redmine 3.x #24

Open glotti opened 9 years ago

glotti commented 9 years ago

Hello to everybody, I have installed the redmine_omniauth_google on a Ubuntu virtual machine that runs on Windows 7 64 bit , (it is Bitnami distribution), with redmine 3.0.3-0 (64-bit) .

when i try to click on the Google login button (i have setup the plugin as administrator, previously), i get a message that says "internal error" After having opened the log file, i see this key point:

500 Internal Server Error in 3ms (ActiveRecord: 0.5ms)

NameError (uninitialized constant RedmineOauthController::OAuth2): plugins/redmine_omniauth_google/app/controllers/redmine_oauth_controller.rb:87:in `oauth_client'

why this error appear? It fails to load the class "OAUTh2"?

thanks in advance

Giulio

nkgokul commented 8 years ago

Any update on this? I am surprised that there are not many plugins for Redmine+Google Apps integration.

By far this seems to be the best bet and looks like it doesn't work on 3.x version. Would be great if it works with 3.x version.

imendiola commented 8 years ago

Hi, I have just tested this plugin with a Redmine 3.2.0.stable installation and it works perfectly. I had the same error as showed in this issue, but it was because the gems were not correctly installed. I solved it executing: bundle install --no-deployment with the --no-deployment parameter

Regards