Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-16423

Social Facebook Node doesn't GET non-default attributes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 6.5.2.3
    • Fix Version/s: None
    • Component/s: authentication
    • Labels:
    • Target Version/s:
    • Rank:
      1|i01dv3:
    • Support Ticket IDs:

      Description

      Bug description

      If you add extra attributes to Social Facebook Node Attribute Mapper Configuration, the call to Facebook still only GETs the default attributes.

      How to reproduce the issue

      1. Setup app on Facebook https://developers.facebook.com/quickstarts/?platform=web - you'll need to set domains, redirect_uri etc.
      2. Modify Facebook-ProvisionIDMAccount Auth Tree or create a new one. Set the client_id and client_secret to what was created in Step 1. Add the picture attribute mapping.
      3. Authenticate to the tree, sign in as a Facebook user
      4. In the logs you'll see the call to get the attributes - it doesn't include the picture attribute e.g. GET /v2.6/me?fields=name%2Cemail%2Cfirst_name%2Clast_name
      Expected behaviour
      GET /v2.6/me?fields=name%2Cemail%2Cfirst_name%2Clast_name%2Cpicture and then successful mapping of the picture attribute.
      
      Current behaviour
      AM doesn't request the picture attribute and so the mapping fails.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aaron.haskins Aaron Haskins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: