Accounts-facebook stopped working


#1

The site is on 1.6.1 and with the recent changes facebook made, oauth login no longer works. The only thing I changed was the OAuth redirect URLs at Facebook to now contain /_oauth/facebook, but the server throws an exception with the server logs containing

Exception while invoking method 'login' Error: Failed to complete OAuth handshake with Facebook. failed [400] {"error":{"message":"Invalid verification code format.","type":"OAuthException","code":100,"fbtrace_id":"abcdefg"}}

anybody knows how to fix that?


#2

Follow-up question: does anybody know how to associate a local password to an account created with facebook?


#3

The problem was caused by requesting user_about_me in Accounts.ui.config.requestPermissions.facebook. It did throw up a warning in the oauth dialog that only developers could see, but caused the login request to fail.