Hybrid auth with Yii causing a redirect loop

后端 未结 2 519
走了就别回头了
走了就别回头了 2020-12-21 05:46

I am trying to implement twitter sign in on my website using hybridauth. I know there is a hybrid auth plugin for Yii. I am not using it because last time I used I ran into

2条回答
  •  春和景丽
    2020-12-21 06:24

    1. Hybrid Auth login for twitter and facebook requires a valid domain not localhost.

    2. Your base_url in configuration file "hybridauth.php" should be set to "/hauth/endpoint" i.e. it must point to the endpoint. If you have removed index.php through .htaccess then use "/index.php/hauth/endpoint".

    3. Set permissions of hybridauth.log in Logs folder to writable.

    Reference Link: http://hybridauth.sourceforge.net/userguide/Configuration.html

提交回复
热议问题