Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Browsers - All
      OS - Windows 7, Windows 8 , Windows XP, Android

      Description

      Error 405 is encountered using CanvasSignInController. Steps to reproduce are below -

      1. Log out of Facebook
      2. Close Browser
      3. Go to http://apps.facebook.com/springsocialcanvas/
      4. Enter user credential
      5. Error is recreated

        Activity

        Hide
        Craig Walls added a comment -

        Moved to Spring Social Facebook, as it is a Facebook-specific problem.

        Show
        Craig Walls added a comment - Moved to Spring Social Facebook, as it is a Facebook-specific problem.
        Hide
        Craig Walls added a comment -

        CanvasSignInController wasn't properly handling all of the cases for how it may be called by Facebook. Specifically, it wasn't handling GET requests with a signed_request nor was it handling the error case where the user declines authorization.

        It now handles GET requests as well as POST requests when dealing with signed_request requests. It also deals with the decline case by redirecting the top-level window to http://www.facebook.com. This behavior can be overridden by either setting the postDeclineUrl property (for top-level window redirects) or by overriding the postDeclineUrl property (for in-canvas iframe redirects).

        Show
        Craig Walls added a comment - CanvasSignInController wasn't properly handling all of the cases for how it may be called by Facebook. Specifically, it wasn't handling GET requests with a signed_request nor was it handling the error case where the user declines authorization. It now handles GET requests as well as POST requests when dealing with signed_request requests. It also deals with the decline case by redirecting the top-level window to http://www.facebook.com . This behavior can be overridden by either setting the postDeclineUrl property (for top-level window redirects) or by overriding the postDeclineUrl property (for in-canvas iframe redirects).

          People

          • Assignee:
            Craig Walls
            Reporter:
            Anant
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: