Skip to content

FGraph::OAuthError in SessionController#oauth_callback  #10

Description

When calling FGraph::oauth_access_token as given by the examples, the call results into an Exception saying "(OAuthException) Error validating verification code."

As the rails webserver console says, the error is the result of the following Exception:

--- begin ---
MultiJson::DecodeError (706: unexpected token at 'access_token=XXXXXREMOVEDXXXXXX'):
app/controllers/session_controller.rb:23:in `oauth_callback'

Rendered httparty/ruby/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered httparty/ruby/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered httparty/ruby/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.0ms)
--- end ---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions