Missing Emails
Some providers (such as GitHub) don't always return an email address when authenticating with them. To attempt to solve this problem, Socialstream offers the ability to generate an email for any user this happens with. This email address is a unique combination of the user_id
returned after authentication and the name of the provider used to authenticate with, coupled with your applications domain name:
For example, for a GitHub user with the ID of 758273, the resulting email address would be 758273@github.myapp.com
If you wish to customise how your application handles missing email, Socialstream publishes a ResolveSocialiteUser.php
file containing this logic in your applications app/Actions/Socialstream
directory:
To turn on this feature add the following to applications socialstream.php
config file:
Last updated