Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
invalid_credentials error and no info what's wrong
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Roman  
View profile   Translate to Translated (View Original)
 More options Jun 28 2011, 12:16 pm
From: Roman <felix...@gmail.com>
Date: Tue, 28 Jun 2011 09:16:38 -0700 (PDT)
Local: Tues, Jun 28 2011 12:16 pm
Subject: invalid_credentials error and no info what's wrong
I get an error when i try to login with facebook via omniauth gem ver.
0.2.6.
It shows invalid_credentials.
http://localhost:3000/auth/failure?message=invalid_credentials
I use this code in initializer/omniauth.rb

    Rails.application.config.middleware.use OmniAuth::Builder do
      provider :facebook,
               "app_id",
               "app_secret",
               {:scope=>[:email,:user_birthday],:client_options =>
{:ssl => {:ca_path => "/etc/ssl/certs"}} }
    end

    Started GET "/auth/facebook" for 127.0.0.1
    Started GET "/auth/facebook/callback?
code=0b49kydcswTkMNfx_C9BwhE0Z-
g9kO_oE0aJ2F4ghy0.eyJpdiI6IjlYaXRxTF9NdFBGbWtBUk9ZUXVSdUEifQ.DsDgdFUpuC6Z_B _m8j1MiAN1cQRS_Mcr9VvvZvSurs0wUyCRAvjDDEYjE6b6_VUF0KNkeLUy9lJCF2IF2BBGOeAt9 5fggdI49jZKwqo842z3cdsJQ2kZTQcQrs0jinxn"
for 127.0.0.1

This all i get. I double checked app_id and app_secret all is ok and
tried php version it works fine. So there is no error in this.

So how i can find more info about an error at least ? or how this
problem can be fixed ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Mango  
View profile  
 More options Jun 28 2011, 12:19 pm
From: Thomas Mango <tsma...@gmail.com>
Date: Tue, 28 Jun 2011 12:19:47 -0400
Local: Tues, Jun 28 2011 12:19 pm
Subject: Re: [omniauth] invalid_credentials error and no info what's wrong
Have you tried using the API Key and App Secret from Facebook, rather than the App ID and App Secret?

--
Thomas Mango
tsma...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roman  
View profile  
 More options Jul 1 2011, 2:54 am
From: Roman <felix...@gmail.com>
Date: Thu, 30 Jun 2011 23:54:56 -0700 (PDT)
Local: Fri, Jul 1 2011 2:54 am
Subject: Re: invalid_credentials error and no info what's wrong
of course i am
it's a bug in omniauth gem
https://github.com/intridea/omniauth/issues/377
https://github.com/intridea/omniauth/issues/383

On Jun 28, 8:19 pm, Thomas Mango <tsma...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »