twinslash / redmine_omniauth_google

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

No route matches oauth2callback #36

Open DangNg opened 7 years ago

DangNg commented 7 years ago

I can not login via google after install omniauth. 500 Error happen redirect to page: redmine/oauth2callback?code=

In log: ActionController::RoutingError (No route matches [GET] "/oauth2callback")

My System: -Redmine 2.6 -redmine_omniauth_google 0.0.1

DangNg commented 7 years ago

oh yeah! I solved my problem. Redmine 2.6 isn't completely compatible with latest version of this plugin. Then I searched and find solution https://github.com/twinslash/redmine_omniauth_google/commit/8f4e38110fda2591433754a4d583871a62cffad6