Stavo cercando di far funzionare HybridAuth Social Login su questo semplice sito php. Scaricato HybridAuth e installato. Poi scopri che anche gli esempi non funzionano per l'accesso social (provato anche sul server remotoPHP HybridAuth accesso sociale non funziona affatto. Reindirizzamento a? Hauth.start = Facebook e hauth.time
L'esempio di signin_signup normale funziona bene, ma ogni volta che clicco il link per accedere ad un social network (ad esempio, facebook, twitter) reindirizza a (MY_BASE_URL/index.php? hauth.start = Facebook & hauth.time) senza mostrare alcuna finestra di login/messaggi di errore a tutti.
Ho letto attentamente le documentazioni e le altre soluzioni pubblicate qui. config.php per avere un url di base come http://example.com/index.php. Ma semplicemente non risponde. C'è qualcosa che mi manca? Ho trascorso 2 giorni già su di esso.
lei e è il mio config.php
return
array(
"base_url" => "http://example.com/index.php",
"providers" => array (
// openid providers
"OpenID" => array (
"enabled" => false
),
"AOL" => array (
"enabled" => false
),
"Yahoo" => array (
"enabled" => false,
"keys" => array ("id" => "", "secret" => "")
),
"Google" => array (
"enabled" => true,
"keys" => array ("id" => "", "secret" => "")
),
"Facebook" => array (
"enabled" => true,
"keys" => array ("id" => "xxxxxxxxx", "secret" => "xxxxxxx")
),
"Twitter" => array (
"enabled" => true,
"keys" => array ("key" => "xxxxxxxx", "secret" => "xxxxxxxx")
),
// windows live
"Live" => array (
"enabled" => false,
"keys" => array ("id" => "", "secret" => "")
),
"MySpace" => array (
"enabled" => false,
"keys" => array ("key" => "", "secret" => "")
),
"LinkedIn" => array (
"enabled" => true,
"keys" => array ("key" => "xxxxxxxx", "secret" => "xxxxxxx")
),
"Foursquare" => array (
"enabled" => false,
"keys" => array ("id" => "", "secret" => "")
),
),
// if you want to enable logging, set 'debug_mode' to true then provide a writable file by the web server on "debug_file"
"debug_mode" => false,
"debug_file" => ""
);
Qualcuno può aiutarmi per favore? Ho la sensazione che non funzioni molto bene dopo aver cercato su Internet per un bel po '. Se questo è il caso, qualcuno può indicare una migliore alternativa opensource/free social signin library?
Qualcuno ha un consiglio? Davvero frustrato ... – tintinboss