Pergunta

i used this tutorial for hybridauth and laravel: link

I set twitters key and secret, now when i go to http://127.0.0.1:8000/social i get error:

Undefined index: oauth_token

Does anyone know what can be a problem here?

My config:

// in hybridauth config array
"base_url"   => "http://127.0.0.1:8000/social/auth",
Foi útil?

Solução

Check the name of the fields in your database,

the field for the user id must be just "id",

and the field for the password must be just "password".

That was the issue for me, I hope this help you. (late answer, I know, but may help someone else)

Have a nice day :D

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top