Vote up!
Vote down!

Configuration for Facebook / Twitter Login

Hey Guys,

i got yout kickstarter running and try to configurate it to my needs.

at the moment i stuck in the configuration of the facebook and twitter oAuth.
i added the public and private keys from the apis, but this doesnt seems to be enough, because both options will not be shown up at /user/login

do you have a tutorial that helps me to configure the oAuth right for the user with commerce_kickstart?

Asked by: jokas
on August 29, 2012

1 Answer

Vote up!
Vote down!

We're working on documentation that is specific to Kickstart 2. Until that is written, I recommend you read through the oAuth module's documentation...


Admittedly, it looks daunting.


I just spent the last hour trying to use this feature of Kickstart. I've learned a little bit. First, you'll want to connect your oAuth providers APIs...

Go to admin/structure/oauthconnector/list and create a new provider by using one of the presets the list, or by creating you own. You will need an App Key and a Secret Key for each provider (see list below).

URLs to apply for App Keys (as of Mar. 2012):

* Facebook: https://graph.facebook.com/
* Twitter: https://api.twitter.com/
* Google: https://code.google.com/apis/console
* LinkedIn: https://www.linkedin.com/secure/developer
* Flickr: http://www.flickr.com/services

I signed up for API keys for Google. It was tricky, but once I figured it out, I had to change the "callback URL" on Google's site to http://localhost:8888/ck2/oauth/authorized2/1

Finally, you will need to go to your permissions page and add permissions for anonymous to "Connect to [Provider]" (where provider is Google or Facebook or whoever).

That last step (adjusting permissions) is probably the step you are missing.

Josh Miller
Answer by: Josh Miller
Posted: Oct 2, 2012