Giter Club home page Giter Club logo

li3_socialauth's People

Contributors

kewlburn avatar scharrier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

li3_socialauth's Issues

Install without composer

Hi,
Is there another way to load add this awesome library without using composer?

Thank you.
Minh

Clear session

Hi,

When I try to clear the session with Auth::clear('Facebook'), the session is cleared but when I go to my login-action the session is back again. What's the best way to logout Facebook in my app?

Composer issues

I am no expert on using composer but I ran into an issue using composer with your li3 plugin. I have no idea why it is happening but when you run composer update it pulls down your repository perfectly but when it pulls in the external lib (oauth lib from Lusitanian) it fails to get "dev-master". It works if you change the composer.json in your project to read:

"require":{
"lusitanian/oauth": "0.1.*@dev"
}

I don't know enough about composer to say why because if we look at the composer file in lusitanian/oauth we can see an alias of "dev-master": "0.1-dev" which I assumed would work.

Need help to install library

Hi, I have to create a link li3_socialauth->scharrier/li3_socialauth to make it works or lithium will say li3_socialauth library not found.
Is there a way to make it work without creating that link?

Thank you very much.

Have error with Twitter adapter

Hi,
I got this error:

[Wed Oct 16 16:52:11 2013] [error] [client 127.0.0.1] PHP Fatal error: Uncaught exception 'OAuth\Common\Storage\Exception\TokenNotFoundException' with message 'Token not found in session, are you sure you stored it?' in /works/minhna/public_html/CMP/V0/libraries/lusitanian/oauth/src/OAuth/Common/Storage/Session.php:44
[Wed Oct 16 16:52:11 2013] [error] [client 127.0.0.1] Stack trace:
[Wed Oct 16 16:52:11 2013] [error] [client 127.0.0.1] #0 /works/minhna/public_html/CMP/V0/libraries/li3_socialauth/extensions/adapter/security/auth/Twitter.php(58): OAuth\Common\Storage\Session->retrieveAccessToken('Twitter')

I tried to dump $_SESSION in retrieveAccessToken function, it's empty

array(1) { ["oauth_token"]=> array(0) { } }

Thank you.

have error with facebook adapter!

Hi my friend!

After long times programming, i am find the solution. but....

When I define scope for facebook, the adapter don´t read config file. After hours, i´m change the the adapter file (facebook.php) to:

original:
public function __construct(array $config = array()) {
$config += array('tokenKey' => 'oauth_token', 'scope' => array('email')) ;
parent::__construct($config) ;
}

my solution:
public function __construct(array $config = array()) {
$config += array('tokenKey' => 'oauth_token', 'scope' => array(MYSCOPES)) ;
parent::__construct($config) ;
}

When I analyzed the code, I realized that I downloaded the latest version of the Lusitanian, they changed the variable "scope" to "scopes"

this influences somewhere in the code?

thanks!

Google+ adapter config

Just figured it out:

Auth::config(array(
    'google' => array(
        'adapter' => 'Google',
        'key' => '(got it from Client ID for web applications - Client ID)',
        'secret' => '(got it from Client ID for web applications - Client secret)'
    )
));

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.