Announcement Announcement Module
No announcement yet.
Auth Dialog redirect fails Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Auth Dialog redirect fails

    Hi ,

    We've implemented facebook Canvas application using spring social.

    After facebook's Feb 6th breaking changes auth dialog is coming as blank. How to handle this in spring social? Is there any temporary fix available for this?

    Please help on this


  • #2
    Ah...I commented on your issue in Jira, but didn't notice until I read this that your app is a Canvas app. That's *TOTALLY* different.

    First, please note that the canvas sample app is no longer in GitHub. I removed it because it was demonstrating the wrong way of obtaining an access token using the ConnectController/OAuth2 connection flow. The correct way for FB Canvas apps, as you suggested in one of your comments, is to use the auth dialog and to obtain the token via the signed_request parameter.

    This is not a bug in Spring Social itself. It is perhaps an unsupported (or perhaps not directly supported) feature in Spring Social, but not a bug in Spring Social. At very least it is a lack of a proper example for doing Spring Social with Facebook Canvas apps. It's funny that this *exact* topic has come up several times over the past couple of weeks. I guess it's a sign that I need to provide a correct example (which, is already in progress).


    • #3
      I get this error in the logs running the sample straight out of github:

      Apr 30, 2013 10:54:09 PM InController signin
      INFO: No access token in the signed_request parameter. Redirecting to the authorization dialog.

      And the browser displays this:


      Any ideas? Thanks,


      PS I'm using a war built with maven deployed to a vanilla jetty 8 server.

      PPS It works in firefox but not in chrome. Both current versions on OS X Lion.
      Last edited by tommc; May 1st, 2013, 01:18 AM.