문제

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",
도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top