Closed pedalpete closed 7 years ago
@pedalpete I just fixed this in master and released a new milestone with the fix. Since you are using 2.1.4 I suggest you create a new Facebook provider that does not override buildInfo and register that instead of the build in one.
The code in OAuth2Provider parses the json as expected but we had a custom logic for Facebook because they were not following the spec.
Thanks for that jaliss, I appreciate the speedy response. I've got this working now.
you're welcome @pedalpete
It appears as though FB logins updated the oauth token format
https://www.facebook.com/v2.3/oauth/access_token returned when you exchange a code for an access_token now return valid JSON instead of being URL encoded. The new format of this response is {"access_token": {TOKEN}, "token_type":{TYPE}, "expires_in":{TIME}}. We made this update to be compliant with section 5.1 of RFC 6749.
https://developers.facebook.com/docs/apps/changelog#v2_3This has broken the (very old) version of securesocial we're running 2.1.4
I'm new to scala having recently taken over this project and am at a pretty big loss as to what I can do to get logins working again.
Any suggestions?
The error I'm getting locally is (I think this is the issue)...
The user class has