Facebook Login

Post

Posted
Rating:
#2639 (In Topic #479)
Avatar
Site staff
enelson is in the usergroup ‘Super-moderators’
He All,
I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?
Online now: No Back to the top

Post

Posted
Rating:
#2640
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Please attach a screenshot so we can see the full context, and let us know the exact URL it happens on (you can censor the domain name if you like).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Chris Graham)
#2641
Avatar
Standard member
Paul Flavel is in the usergroup ‘Honoured member’

enelson said

He All,
I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?

Do you have "Require rule-acceptance upon joining / usergroup choice" enabled in your admin settings.
Home → Admin Zone → Setup → Configuration → User/usergroup options

enelson said

He All,
I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?

Do you have "Require rule-acceptance upon joining / usergroup choice" enabled in your admin settings.
Home → Admin Zone → Setup → Configuration → User/usergroup options
Online now: No Back to the top

Post

Posted
Rating:
#2642
Avatar
Site staff
enelson is in the usergroup ‘Super-moderators’
Am no
longer reproducing the error mentioned in the first post, instead after the FB redirect to my site, the start page redirects thrice and am still not logged in after the third redirect.

No user is created by Composr

Paul Flavel said

enelson said

He All,
I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?

Do you have "Require rule-acceptance upon joining / usergroup choice" enabled in your admin settings.
Home → Admin Zone → Setup → Configuration → User/usergroup options

It's enabled.
Am no
longer reproducing the error mentioned in the first post, instead after the FB redirect to my site, the start page redirects thrice and am still not logged in after the third redirect.

No user is created by Composr

Paul Flavel said

enelson said

He All,
I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?

Do you have "Require rule-acceptance upon joining / usergroup choice" enabled in your admin settings.
Home → Admin Zone → Setup → Configuration → User/usergroup options

It's enabled.
Online now: No Back to the top

Post

Posted
Rating:
#2646
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
It is hard to debug Facebook login. Every few months Facebook seem to change something, invalidating our documentation steps, and they have a constant stream of API changes going on. For a developer to debug it properly that developer needs to be granted access to the Facebook app and write access to the website, then likely spend half a day stepping through it all. So if it's not some easily identifiable basic error you'd probably need to pay a developer to step through all that.

If it's a basic error then Facebook is probably returning an error message which we relay in the network request's response headers.

I took a very quick screenshot to show where that is in Google Chrome (but I'm not logged in with Facebook, so don't expect to actually see any error or header in this screenshot).
39 views (259 KB)


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2787
Avatar
Site staff
enelson is in the usergroup ‘Super-moderators’
Let me get back here.
Am having the same issue here at compo.sr on every browser I tried.
Redirect ends at Composr: The versatile Content Management System for next generation websites

enelson said

Am no
longer reproducing the error mentioned in the first post, instead after the FB redirect to my site, the start page redirects thrice and am still not logged in after the third redirect.



I disabled Client OAuth Login for the app at FB's end and got this response when trying to login to my site using the FB app

"The application has disabled OAuth client flow"

So I re-enabled Client OAuth tried to login and the redirect continues.
Am mentioning the Client OAuth here because after re-enabling it, I get an alert:

"Client OAuth login is enabled but you haven't listed any valid OAuth redirect URIs. Click here for more information."

The OAuth redirect URI,  what could it mean?

Also is anyone else reproducing the errors? Am wondering if it could be an issue connected to my Facebook account as I have heavy changes in my account settings, especially Privacy.
Online now: No Back to the top

Post

Posted
Rating:
#2798
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hello,

Finding it didn't work here was a helpful clue, thank you.

Facebook changed their API. Now, I didn't think we were doing anything particularly advanced, but actually we were using an old version of their PHP SDK which was not updated to be compatible with their updated API which had a fundamental core change to it.

I have patched it, the new file is here:
https://raw.githubusercontent.com/ocproducts/composr/b23df1c8f2dc502c7680186fdaa3596d55bdce2a/sources_custom/facebook/facebook.php

Facebook have actually totally relaunched their SDK twice since we last did it. We're using the latest version, but of an SDK they don't update any more :$.
We should do a major refresh of the Facebook addon to their latest SDK (a very different implementation), but we don't have anyone to fund it so we will just have to keep patching it like this until we can find some funding somehow. Unfortunately it's getting more and more costly to keep all these integrations updated, because the industry seems to have decided that frequently rewriting stuff and dropping compatibility is okay, because they have in mind only VC-funded companies with millions to burn.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Manu, John Connor, Vaiva, Salman, ManojSree

Forum statistics:
  • 1,298 topics, 5,830 posts, 7,064 members
  • Our newest member is flour2door
Birthdays:
Back to Top