简体   繁体   中英

Laravel 4 HybridAuth Yahoo authentication

I'm using HybridAuth 2.1.1-dev for authenticating with Laravel 4.

It works with Google and Facebook but I always get this error with Yahoo:

Undefined index: oauth_token

I registered a project on Yahoo Developer, with options:

  • For getting private user data access
  • APIs for private user data access: Social Directory > Read Public
  • Already verified my domain
  • Already changed in config file:

     "Yahoo" => array("enabled" => true, "keys" => array("key" => "", "secret" => "")) 

Finally it worked perfectly, for your information:

In HybridAuth config file, Yahoo configuration should be:

"Yahoo" => array (
    "enabled" => true,
    "keys"    => array ("key"    => "Your application key (Not application ID)",
                        "secret" => "Your application secret")
)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM