Auth. Provider allows the specification of User Info Endpoint URL. If this URL is specified, would Salesforce get user info automatically from the endpoint and pass it to the registration handler as parameters?
Reference: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_auth_plugin.htm
- Interface: Auth.RegistrationHandler
- Method: global User createUser(Id portalId, Auth.UserData data)
- Data structure:
Auth.UserData(String identifier,
String firstName,
String lastName,
String fullName,
String email,
String link,
String userName,
String locale,
String provider,
String siteLoginUrl,
Map<String, String> attributeMap)
Thanks for answering!
@David Brossard Thanks for your clear answer! The work of Test-Only Initialization URL is cool to know.