-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User has cancelled the authentication or the provider refused the connection #20
Comments
I think it's a problem on how are you using the HybridAuth library. If you only use HA to login, you don't need HA anymore within the session. I'm right? |
I am using Hybrid Igniter which is codeigniter plugin of HA. |
Sorry, sometimes I'm too short. HybridIgniter only connects CodeIgniter with HybridAuth, so you really are working with HybridAuth, but the config is in the correct folder in CI structure and you can load the library in the same way as any other CI library. On the other hand, what I wanted to say before is that you have to use HI/HA at the time of login. Once the user has logged in correctly, you should not need HI/HA, and you can work directly with the information already retrieved in the login and stored in your session. If you need to use HI/HA after login, explain a little of your application, to see if I can help. |
Thanks for the response & sorry for the delayed reply. I don't need to use HI after login but as demo i was trying the code that you gave out with HI & those are the errors i faced. So,please let me know why that could be happening. Thanks. |
@zgmunshi :: did you get the solution ..? |
No i have moved ahead implementing my code as the task was on urgent basis & the hybrid igniter was looking not good.The solution is not found yet but surely give it a try in detail whenever i get time. But for now the problem is some thing related to hybrid igniter library. |
i fix this problem by creating new app with different name .and now my facebook login working fine.... |
Because your facebook app was in the sandbox mode,kindly disable the sandbox mode |
Hi I have integrated your library, I have enabled facebook, twitter and google login. Now i have an issue when logged into the site, the url is not redirecting to the homepage of my site. I got an error like "User has cancelled the authentication or the provider refused the connection." When i login with google i got an error like "Error: invalid_request" Please help me to get fix this issue |
Hi, Can you please share the url so that i can check & help you in more Regards, On 12/11/13, naveenkrsh68 [email protected] wrote:
|
Hi, I got a solution for that. I have passed the redirect url in the library On Wed, Dec 11, 2013 at 11:37 AM, Zeeshan [email protected] wrote:
Regards, |
me too.only the facebook return data and other no.this is the error User has cancelled the authentication or the provider refused the connection. how can i fixit? |
Please specify clearly what is your error.so that we can help you. On 1/16/14, thestormboy [email protected] wrote:
|
basicaly i want to integrate hybrydauth into one of my projects and return me theat error.my htaccess look like this: RewriteEngine On RewriteBase / ### Canonicalize codeigniter URLs # If your default controller is something other than # "welcome" you should probably change this RewriteRule ^(welcome(/index)?|index(.php)?)/?$ / [L,R=301] RewriteRule ^(.)/index/?$ $1 [L,R=301] # Removes trailing slashes (prevents SEO duplicate content issues) RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)/$ $1 [L,R=301] # Removes access to the system folder by users. # Additionally this will allow you to create a System.php controller, # previously this would not have been possible. # 'system' can be replaced if you have renamed your system folder. RewriteCond %{REQUEST_URI} ^system. RewriteRule ^(.)$ /index.php/$1 [L] # Checks to see if the user is attempting to access a valid file, # such as an image or css document, if this isn't true it sends the # request to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.)$ index.php/$1 [L] |
okay...For debugging if your application is online please provide me For now what i got from your message is you are able to connect FB but For twitter please check your callback URL & let me know if you have Regards, On 1/16/14, thestormboy [email protected] wrote:
|
http://tinhex.hol.es is live but now needer fb doesn work wtf? if you need ftp access tell me and i send you,tnks |
Ok but its showing CI Welcome Page.Let me know the link to the main I will ask you if i need FTP access. Best Regards, On 1/16/14, thestormboy [email protected] wrote:
|
tinhex.hol.es/hauth here is the default auth controller |
Ok will check it & let you know. On 1/17/14, thestormboy [email protected] wrote:
|
Send me FTP details or code to look in if you have made the settings correct. Also please confirm that in twitter app you have mentioned correct Regards, On 1/17/14, Zeeshan Munshi [email protected] wrote:
|
hosting provider: hostinger.eshost: tinhex.hol.esuser:u100134309pass:qenaTy1991 |
update the base_facebook file with this code public static $CURL_OPTS = array( ); it will work |
An Error Was Encountered User has cancelled the authentication or the provider refused the connection. Same issue with me .can someone help me.This code was working fine yesterday but today its not working.Any specific reason why this happened? Note:Facebook is working fine,Twitter shows this error. |
An Error Was Encountered User has cancelled the authentication or the provider refused the connection. I am also facing the same error on my hosting server but locally its working fine. What might be the possible reasons? Any specific configuration/settings which I need to change apart from the app settings to remove this error? |
Hi,
I am using your Hybridigniter in my project & it works good but i have an issue with this as after some time say a hour or two it starts giving me error 'User has cancelled the authentication or the provider refused the connection'.
Then i need to logout of my account from going to facebook & loggin in again with my project solves the problem.
Kindly let me know what can be the reason for this & how to solve it.
Thanks & Regards,
Zeeshan.
The text was updated successfully, but these errors were encountered: