Skip to content
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

Facebook & Twitter provider don't seem to be working #7

Open
bymayo opened this issue Oct 3, 2020 · 4 comments
Open

Facebook & Twitter provider don't seem to be working #7

bymayo opened this issue Oct 3, 2020 · 4 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@bymayo
Copy link

bymayo commented Oct 3, 2020

I can't seem to get this plugin to work.

I've got Facebook & Twitter setup, input the Client API Key & Client Secret with the correct callbacks.

I can see it's trying to do something as it takes me to Facebook or Twitter, asks if I want the site to access the account then redirects me back to my site. But when it does, it doesn't login me in or in the CMS show that it's created any users.

Any ideas what I could be missing?

User registration is also turned on.

I checked the logs and I can see the Twitter one is saying:

2020-10-03 17:25:37 [-][-][-][error][enupal\socializer\controllers\LoginController::actionLogin] Signed API request to https://api.twitter.com/oauth/request_token has returned an error. HTTP error 403. Raw Provider API response: <?xml version='1.0' encoding='UTF-8'?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>.
2020-10-03 17:25:37 [-][-][-][info][application] $_GET = [
    'p' => 'socializer/login'
    'redirect' => '?'
    'provider' => 'twitter'
]

But the callback URL for the application in Twitter is correct from the one in the provider settings. No logs for any errors for Facebook though.

@andrelopez andrelopez self-assigned this Oct 3, 2020
@andrelopez andrelopez added the bug Something isn't working label Oct 3, 2020
@andrelopez andrelopez added the question Further information is requested label Oct 21, 2020
@andrelopez
Copy link
Member

andrelopez commented Oct 21, 2020

Hi @bymayo I was able to recreate the Twitter issue. However, it looks like they add new settings in their apps site (https://developer.twitter.com/en/apps/) Please create a new one and make sure to enable the "Allow sign in with Twitter" and give the email address permissions

@bymayo
Copy link
Author

bymayo commented Oct 21, 2020

@andrelopez I'll give this a go, thanks!

@bymayo
Copy link
Author

bymayo commented Nov 12, 2020

@andrelopez I setup the app again in Twitter and connected it again to Craft, but I'm still having the same issue get logged.

@andrelopez
Copy link
Member

@bymayo it looks like there is an issue when generating the URL. Could you please recreate the issue and send back to us a zip file of your storage/logs folder? Please send the file to [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants