OAuth/OAuth 2 not working :(

edited October 2013 in News & Announcements
OK, so I have been slamming my head against the desk for the last 12 hours trying to figure out OAuth and getting Google Sign Up to work.

I am essentially doing this on the front end of the site so it's not touching the FUEL CMS features.

I have followed this tutorial for getting OAuth to work with CodeIgniter - no luck
http://classpattern.com/oauth-login.html#.UmoMyvmsiG5

I have Sparks installed and working (the example from their site works just fine) However, when I try to run OAuth or OAuth2.. I get

---------------------------------
A PHP Error was encountered
Severity: Notice

Message: Undefined index: OAuth2

Filename: fuel/Loader.php

Line Number: 206
---------------------------------

Can someone please help me or send me to a comprehensive tutorial for getting OAuth and FUEL CMS to live in peace? I'm at my wit's end!

Many thanks!
Benny

Comments

  • edited 1:29AM
    Getting sparks to work requires changing the fuel/application/core/MY_Loader.php file which currently extends the Fuel_loader (which itself extends the HMVC MX_Loader). I would perhaps maybe try installing manually as a library by downloading the files here and instead putting the library files in the library folder and the config files into the config folder:
    http://getsparks.org/packages/oauth2/versions/HEAD/show
  • edited 1:29AM
    Thanks for your help, I will give it a try, but I have figured out all of my social connects without OAuth anyway :P

    Thanks again, mate!
Sign In or Register to comment.