Table of contents


Official Content

When the GAM Facebook Authentication is used, you can retrieve the user's email when they register. That is, when they log into the application for the first time using their Facebook account.

To get the user's email when they log in using Facebook Authentication Type, you just need to add the "email" in the Additional Scope to the Authentication Type configuration, as shown below:

GAM Facebook Authentication Type : Email Additional Scope - v18

When using the GAM API, the code is as follows:

&AuthenticationTypeFacebook.Facebook.AdditionalScope= "email"

Where:

&AuthenticationTypeFacebook
      Is a variable based on GAMAuthenticationTypeFacebook external object - distributed by GeneXus Access Manager (GAM).

Then, the user's email in GAM will be the same email that is configured in the Facebook account.

Note: Once the user has logged in for the first time, the email address won't be updated or changed when logging in again.


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant