Frage

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",
War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top