FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Google IdP get Organization info and Picture profile

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    419
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      leandro.menagonzalez
      last edited by

      Hi,
      I need to obtain the organization information of a Google user, however I only obtain basic information (email,Name,Picture,givenName, FamilyName). How can I get the information without losing the profile image?
      In SAML IdP Google you can get the organization information but the profile image does not exist.
      We have tested with consent for scope https://www.googleapis.com/auth/user.organization.read , however no additional information is returned to Lambda FusionAuth

      danD 1 Reply Last reply Reply Quote 0
      • danD
        dan @leandro.menagonzalez
        last edited by

        @leandro-menagonzalez So it sounds like you seeing the consents be granted in the Google process, which should make it available in the reconcile lambda, but you are not seeing the value in the reconcile lambda?

        https://fusionauth.io/docs/v1/tech/lambdas/google-reconcile

        There are two options I'd explore:

        Using the OIDC identity provider, which gives you more flexibility and possibly more information. In particular, you get both the access and id token: https://fusionauth.io/docs/v1/tech/lambdas/openid-connect-response-reconcile

        Using Lambda HTTP Connect (a paid feature) to make a call to the google APIs to request additional information from within your lambda. You can learn more about that here: https://fusionauth.io/docs/v1/tech/lambdas/#using-lambda-http-connect

        Hope that helps.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post