Google IdP get Organization info and Picture profile
-
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 -
@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.