google plus social authentication uid attribute getting prefixed with "google-"

This topic contains 1 voice and has 0 replies.

  • Author
    Posts
  • #15286
    Profile photo of priya.jain2@cognizant.com priya.jain2@cognizant.com 
    Participant

    hi @peter-major,@bill-nelsonidentityfusion-com,@rajeshr,@scott-hegeragcocorp-com,@ludo

    I am using google plus with Openam for social authentication which i am able to do successfully.
    I am trying to retrieve user’s profile attributes after authentication form the SSOtoken.
    I have mapped my uid with the email of the user.
    Now I am facing this issue that the uid attribute in openam does give me the mail-id of the user but along with a”google-” prefix which I don’t want.

    I have tried possible ways to remove it from the module properties but wasn’t able to.

    Please tell me the way to get only mail-id of the user in G+ as my uid for openam account.

    This is what I ahve defined in following params in Google plus authentication module

    Attribute Mapper:
    org.forgerock.openam.authentication.modules.oidc.JwtAttributeMapper|uid|google-
    org.forgerock.openam.authentication.modules.common.mapping.JsonAttributeMapper|uid|google-

    Account Mapper Configuration:
    email=uid

    Attribute Mapper Configuration:
    email=uid

    Thanks
    Priya

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2017 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?