Active
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2012 at 10:31 UTC
Updated:
19 Mar 2012 at 16:17 UTC
Dave states over in #1380534: Facebook/Drupal Authorization Loop that redirect loops resulting from fb_require_authorization() not being up to date is a separate issue from the redirect loops happening on logout over in that thread. I'd love to work on getting fb_require_authorization() updated with a little guidance from Dave over here in this thread. I have a facebook app that relies on fb_require_authorization() for authentication, and users are experiencing reload loops on an intermittent basis. I want to fix this function; where do we start?
Comments
Comment #1
Dave Cohen commentedIf I recall correctly, that function worked sometime in the past, when after sending the user to facebook it returned with the user fully logged in. There wasn't any of this code being returned and code later being converted to an access token. That's how I think it needs to work now (even that I'm not sure).
So the start is details need to be worked out. The code in that function assumes it can send the user to facebook with a redirect_uri parameter, but there might need to be another step of redirection, i.e. send to facebook, get code back, convert code to token then redirect.
Comment #1.0
Dave Cohen commentedFixed spelling & grammar to some minimum standard :)