Closed prawee closed 11 years ago
This file: https://github.com/thyseus/yii-user-management/blob/master/user/vendors/hybridauth/index.php
please let me know if you get hybrid auth to work and if you have some improvement suggestions. thanks for choosing yii-user-management
finished it.thank you so much. if it have widget about social icon for navbar(small icon) . i think better than. ps. i use bootstrap.
which social icon plugin do you suggest?
yeah. i want to small than default icon. (if you can). thank you for reply me.
Thyseus and parwee
I am newbie toYum and yii too . I tried to configure hybirdauth as described in hybirdauth.txt. I can see the icons on my login page too as what it set in config. Problem is when i click any of them it brings to the http://www.indoogoo.local/user/auth/login/hybridauth/Facebook or /twitter or /google whatever is clicked.
where indoogoo.local is my virtual domain as I am working on loclhost.
I have to implement the social media logins with my app.
Any help will be appriciated a lot.
Did you place the hybrid auth entry script beside your index.php? See step 3:
3.) Take the modules/user/vendors/index.php, rename it to 'hybridauth.php' and place it beside your application index.php bootstrap script. This will be your hybrid auth entry script.
Ohhh, you really replied. Great.
I placed that hybridauth.php file as you said, followed and double checked all the 5 steps in doc file but no luck.
one file is in /protected directory and 2nd config inside /protected/config
let me know if have to do anything else
please place the file where your index.php is, one directory above protected/
2013/6/24 muet84 notifications@github.com
Ohhh, you really replied. Great.
I placed that hybridauth.php file as you said, followed and double checked all the 5 steps in doc file but no luck.
one file is in /protected directory and 2nd config inside /protected/config
let me know if have to do anything else
— Reply to this email directly or view it on GitHubhttps://github.com/thyseus/yii-user-management/issues/119#issuecomment-19917532 .
GIT/GP/GTW d- D++ s a- C++ UL++ P-- E--- R !tv e-- h* r-- y-
I am sorry but its already at the same place as you asked. i mentioned wrong.
@muet84 i use follow this.
in file /protected/hybridauth.php i'm set url = "your url/hybridauth.php" that working.
Thanks for your suport, finally I managed hybirauth working. The thing I was missing is my YumAuthController was old and there is no hybirdAuthlogin method and actionLogin redirecting me to the same login page.
Another thing I observerd may helpful for someone is, the array in config file has index name id and secret where some providers(Linkedin I tested) have key and secret and so It throws exception.
I love the Yum and its all components. Thanks to Yii thanks to Yum [thyseus].
i can't find index.php inside modules/user/vendors/index.php but i see only modules/user/vendors/hybridauth/index you mean that right?