OpenAM social login for version 13

This topic has 2 replies, 2 voices, and was last updated 6 years, 7 months ago by jamsheer.

  • Author
  • #8027

    How to implement openAM social login with version 13.
    Gone through this document and succeed with version 12 but i am getting issue with version 13.Any configuration changes needed in version 13.Let me know if any documentation available .

     Rajesh R

    @jamsheer I got it working on OpenAM 13 as well with almost the steps as what you see in the screen-cast. Here are the values I’ve in the Authentication Module Instance ‘FacebookSocialAuthentication’ (You can create these module instances easily from the dashboard):


    Client Id: 9****3**19****8
    Access Token Endpoint URL:
    User Profile Service URL:
    Scope: public_profile,email
    Proxy URL:
    Account Mapper: org.forgerock.openam.authentication.modules.common.mapping.JsonAttributeMapper|email|facebook-
    Account Mapper Configuration: email=mail
    Attribute Mapper: org.forgerock.openam.authentication.modules.common.mapping.JsonAttributeMapper|email|facebook-
    Email attribute in OAuth2 Response: <Empty>
    Create account if it does not exist: <Unchecked>
    Prompt for password setting and activation code: <Unchecked>
    OAuth 2.0 Provider logout service: <Empty>
    Logout options: Prompt
    Mail Server Gateway implementation class: org.forgerock.openam.authentication.modules.oauth2.DefaultEmailGatewayImpl
    SMTP host: localhost
    SMTP port: 25
    SMTP User Name: <empty>
    SMTP User Password: <empty>
    SMTP SSL Enabled: <unchecked>
    Authentication Level: 0
    OpenID Connect validation configuration type: client_secret
    Name of OpenID Connect ID Token Issuer : <empty>
    Anonymous User: anonymous
    OpenID Connect validation configuration value: <empty>
    Client Secret : ***********************
    Authentication Endpoint URL :
    OAuth2 Access Token Profile Service Parameter name: access_token
    Account Provider: org.forgerock.openam.authentication.modules.common.mapping.DefaultAccountProvider
    Attribute Mapper Configuration: email=mail
    Save attributes in the session: <checked>
    Map to anonymous user: <unchecked>
    SMTP From address: [email protected]

    So my use case was to use the primary address of a User in Facebook to retrieve the User’s profile in OpenAM. The User’s profile in OpenAM should have an Email address that maps to the primary Email address of the User in Facebook.


    Its worked me while calling as ?realm=test&service=FacebookSocialAuthenticationService
    but not possible to call with module name .Anyway now it meets my requirement
    Thank you for your replay@rajeshr

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?