Setting the fullname here can cause the username to be set by this logic before the usual uniqification kicks in. The result is that share-by-powerbox can appear to fail, until the recipient actually visits the grain.
The solution is to adjust the call to Accounts.updateOrCreateFromExternalService() to better match the call in meteor-accounts-sandstrom which gets invoked when the sharing does not go through the powerbox.
Setting the fullname here can cause the username to be set by this logic before the usual uniqification kicks in. The result is that share-by-powerbox can appear to fail, until the recipient actually visits the grain.
The solution is to adjust the call to
Accounts.updateOrCreateFromExternalService()
to better match the call in meteor-accounts-sandstrom which gets invoked when the sharing does not go through the powerbox.