Hub Invitation Troubleshooting
Understanding LWS and Hub Invitation Issues in Salesforce
Overview:
This article explains the role of Lightning Web Security (LWS) in resolving hub invitation issues and provides insights into why emails might not be received when inviting users via the hub.
Issue: Hub Invitations Not Working
Symptoms
- Customers report that hub invitations are not being received.
- Copying the invitation link does not work.
Solution: Enable Lightning Web Security (LWS)
- Enabling LWS has resolved similar issues for other customers in the past.
Why is LWS Related to This?
- LWS specifically impacts the ability to copy the invitation link. Without LWS enabled, this functionality does not work correctly.
- However, LWS does not directly influence the email invitation being sent.
Issue: Invitation Emails Not Being Received
Possible Causes
-
Email Deliverability Issues (DKIM/SPF)
- If the customer does not receive any notifications, it is likely due to email authentication issues (DKIM/SPF).
-
Permission Issues
- If the customer receives other notifications but not the hub invitation, it may be a permission problem.
- Hub invitations are sent using the current user's permissions.
- However, if the "Reset Password" option from the hub is used, it is executed under the integration user context.
Next Steps for Troubleshooting
- Ensure LWS is enabled to allow copying the invitation link.
- Verify DKIM/SPF settings to rule out email authentication issues.
- Check user permissions if invitations are not being sent but other notifications are received.
- Try using "Reset Password" from the hub, which operates under the integration user context and may work if permission issues exist.
For further assistance, reach out to the support team.