I have been working on this for the past two days trying to get the facebook authentication using HybridAuth to work in codeigniter using https://github.com/andacata/HybridIgniter integration. The twitter authentication works fine but i get a user User has cancelled the authentication or the provider refused the connection when i try authorizing with facebook. When i directed to facebook from the site, it reads in the url that user has denied the application even before i enter my facebook details. This then return an empty user id to the application.
Hybrid Authentication With Facebook
1k Views Asked by Mark Bourne At
2
There are 2 best solutions below
Related Questions in FACEBOOK
- Facebook Post Images from local system on own Page
- Provide an archipelago name that humans cannot utter
- How can I look this email address
- Not getting all leads from Meta/Facebook using webhook for page leadgens
- Unsupported post request when trying to create a custom audience via the endpoint https://graph.facebook.com/lapi-version), (custom-audience-id/users)
- Java resized JPEG seems to be invalid format for Facebook?
- How to implement facebook pixel in flutter in 2024 any example?
- Need WhatsApp Data Backup from Api
- Facebook login via JS-SDK via OAuth will get stuck half-way
- Short time token with the Graph API and Facebook login through the iOS SDK
- Facing the "Messaging may be unavailable" error - WhatsApp Cloud API
- Facebook Graph API - Story endpoint does not return all active stories
- Javascript / Dynamically append text element above embedded facebook posts
- When I post text with media on Facebook, the text does not show
- How to search a list of groups using facebook APIs
Related Questions in FACEBOOK-GRAPH-API
- Facebook Post Images from local system on own Page
- How can I get posts from a facebook page using the graph API?
- Not getting all leads from Meta/Facebook using webhook for page leadgens
- Unsupported post request when trying to create a custom audience via the endpoint https://graph.facebook.com/lapi-version), (custom-audience-id/users)
- Page access token
- Facebook login via JS-SDK via OAuth will get stuck half-way
- Python - Facebook Check For Duplicate Post Before Posting
- Facebook Graph API - Story endpoint does not return all active stories
- Can't set permissions in Graph API Explorer tool
- My Authentication is not working in published mode
- Can I get my comment's reactions in FB Graph API Explorer
- Facebook GraphAPI: page subscribed_apps with subscribed_fields messages is not working
- Get Ad Account Billing Payment Transactions
- How to get a person’s username by his ID without a request to the graph?
- I am having trouble understanding the docs for Facebook Login SDK
Related Questions in HYBRIDAUTH
- Not enough permissions to access API request https://api.linkedin.com/v2/me
- Using Hybridauth to get Yahoo email
- error installing module HybridAuth and Drupal 8-10
- Hybridauth set access token invalid
- Login with Google button - unable to get user first name, last name, etc except the user email id
- Which would be the right way to Sign-In on my own server from an native Android app?
- Hybridauth 3 - Google Provider - Invalid Credentials
- HybridAuth authorization state error specifically only on mobile devices
- Login With Facebook hybridauth
- use direct oauth with google facebook and linkedIn or with a third party like hybridAuth
- HybridAuth Facebook Invalid Scope: Array (Please check lower letter case or delimiter)
- Hybridauth on Codeigniter Could not load the Hybrid_Auth class
- I'm getting a fatal error when trying to use getSessionData() in hybridAuth v3.1
- Hybridauth - The authorization state [state=HA-SOME_STATE_DATA] of this page is either invalid or has already been consumed
- Missing redirect_uri paramater & invalid grant_type when using hybridauth
Related Questions in HYBRIDAUTHPROVIDER
- Window not close after auth hybridauth v3
- Hybridauth Redirecting to Blank Page
- Hybridauth + composer: how to add custom providers
- How to add instagram oauth using Hybrid Auth?
- HybridAuth Facebook Web Log in fails
- hybridauth - how to minimize permissions?
- Drupal hybridauth Paypal login issue
- PHP HybridAuth library without using PHP session
- How to disable fb login based on some condition in hybridauth
- Hybridauth authentication failing
- Hybridauth Facebook login on mobile devices using native app
- HybridAuth issue when removing session_start() from top of controller in cakephp
- Get all user data from hybridauth
- Yahoo oauth issue with hybridauth
- PHP HybridAuth Authentication failed - wrong redirect
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
When the authentication fail, you should call logout method.
then redirect again to the hibridy login. So all Cookies and Session var are reset and the user should be able to re-authorize the app.