PHP HybridAuth social signin not working at all. Redirecting to ?hauth.start=Facebook&hauth.time

后端 未结 5 2203
自闭症患者
自闭症患者 2021-02-02 14:36

I was trying to make HybridAuth Social Login work on this simple php site. Downloaded HybridAuth and installed it. Then found that even the examples does not work for social log

5条回答
  •  难免孤独
    2021-02-02 15:11

    Hi I have tried all the solution suggestions of this problem but none have reached the solution. I solved the problem like this.

    "base_url" => 'http://'.$_SERVER['SERVER_NAME'].'inauth/auth',

    The key point here is the server name.In addition, cookies are recording your sessions and you can not preview changes you've made. Clear cookies and try again.

提交回复
热议问题