Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid client #19

Open
BAndonovski opened this issue Feb 1, 2015 · 2 comments
Open

Invalid client #19

BAndonovski opened this issue Feb 1, 2015 · 2 comments

Comments

@BAndonovski
Copy link

Hi, got to the step where I get the consent screen from Google, but it fails to authenticate. That's where I'm stuck. Any help?

This is what the log looks like:

Started GET "/redmine/oauth2callback?code=THE_CODE" for THE_IP at 2015-02-01 16:01:30 +0100
Processing by RedmineOauthController#oauth_google_callback as HTML
Parameters: {"code"=>"THE_CODE"}
Current user: anonymous
Completed 500 Internal Server Error in 334.5ms

OAuth2::Error (invalid_client:
{
"error" : "invalid_client"
}):
oauth2 (1.0.0) lib/oauth2/client.rb:113:in request' oauth2 (1.0.0) lib/oauth2/client.rb:138:inget_token'
oauth2 (1.0.0) lib/oauth2/strategy/auth_code.rb:29:in get_token' plugins/redmine_omniauth_google/app/controllers/redmine_oauth_controller.rb:21:inoauth_google_callback'
actionpack (3.2.21) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.21) lib/abstract_controller/base.rb:167:inprocess_action'
actionpack (3.2.21) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.21) lib/abstract_controller/callbacks.rb:18:inblock in process_action'
activesupport (3.2.21) lib/active_support/callbacks.rb:458:in _run__4455392917400166327__process_action__3114685729514454217__callbacks' activesupport (3.2.21) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.21) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.21) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (3.2.21) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.21) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:30:in block in process_action' activesupport (3.2.21) lib/active_support/notifications.rb:123:inblock in instrument'
activesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.21) lib/active_support/notifications.rb:123:ininstrument'
actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.21) lib/action_controller/metal/params_wrapper.rb:207:inprocess_action'
activerecord (3.2.21) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (3.2.21) lib/abstract_controller/base.rb:121:inprocess'
actionpack (3.2.21) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.21) lib/action_controller/metal.rb:203:indispatch'
actionpack (3.2.21) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.21) lib/action_controller/metal.rb:246:inblock in action'
actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:indispatch'
actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:36:in call' /usr/lib/ruby/vendor_ruby/journey/router.rb:68:inblock in call'
/usr/lib/ruby/vendor_ruby/journey/router.rb:56:in each' /usr/lib/ruby/vendor_ruby/journey/router.rb:56:incall'
actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:608:in call' rack-openid (1.4.2) lib/rack/openid.rb:98:incall'
request_store (1.0.5) lib/request_store/middleware.rb:9:in call' actionpack (3.2.21) lib/action_dispatch/middleware/best_standards_support.rb:17:incall'
/usr/lib/ruby/vendor_ruby/rack/etag.rb:23:in call' /usr/lib/ruby/vendor_ruby/rack/conditionalget.rb:25:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/head.rb:14:in call' actionpack (3.2.21) lib/action_dispatch/middleware/params_parser.rb:21:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/flash.rb:242:in call' /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:210:incontext'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:205:in call' actionpack (3.2.21) lib/action_dispatch/middleware/cookies.rb:341:incall'
activerecord (3.2.21) lib/active_record/query_cache.rb:64:in call' activerecord (3.2.21) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:28:in block in call' activesupport (3.2.21) lib/active_support/callbacks.rb:405:in_run__2011330711425557712__call__3411153193398528595__callbacks'
activesupport (3.2.21) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.21) lib/active_support/callbacks.rb:385:in_run_call_callbacks'
activesupport (3.2.21) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.21) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.21) lib/rails/rack/logger.rb:32:incall_app'
railties (3.2.21) lib/rails/rack/logger.rb:16:in block in call' activesupport (3.2.21) lib/active_support/tagged_logging.rb:22:intagged'
railties (3.2.21) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.21) lib/action_dispatch/middleware/request_id.rb:22:incall'
/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in call' /usr/lib/ruby/vendor_ruby/rack/runtime.rb:17:incall'
activesupport (3.2.21) lib/active_support/cache/strategy/local_cache.rb:72:in call' /usr/lib/ruby/vendor_ruby/rack/lock.rb:15:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/static.rb:83:in call' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:136:inforward'
/usr/lib/ruby/vendor_ruby/rack/cache/context.rb:245:in fetch' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:185:inlookup'
/usr/lib/ruby/vendor_ruby/rack/cache/context.rb:66:in call!' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:51:incall'
railties (3.2.21) lib/rails/engine.rb:484:in call' railties (3.2.21) lib/rails/application.rb:231:incall'
railties (3.2.21) lib/rails/railtie/configurable.rb:30:in method_missing' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:inprocess_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:142:in accept_and_process_next_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:inmain_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads'

@BAndonovski
Copy link
Author

I no longer get any error in log, but still I get an internal error when trying to log in with google apps

@tsonghong
Copy link

I'm getting the same issue and just started using Redmine Bitnami. How did you get pass the "error" : "invalid_client"? I'd like to get there at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants