Generating a magic login link
Introduction
3B Portals offers a seamless experience for users through a passwordless login mechanism using magic links. These magic links employ sessionKey
as a URL parameter to grant access.
What is a Magic Login Link?
A magic link is a unique URL, equipped with a session key (sessionKey
), that facilitates direct login into 3B Portals without requiring a password. This mechanism boosts security and user experience by obviating the need for recalling passwords.
How to Generate a Magic Login Link
For administrators and developers, generating this magic link is straightforward with the "Get Magic Link" Apex Action. By simply passing a Contact ID, the service will return the required session key. This session key should be integrated into the sessionKey
URL parameter to create the magic login link.
Usage
- Initiate the "Get Magic Link" Apex Action in your Salesforce org.
- Pass the desired Contact ID to obtain the session key.
- Append this session key to your portal URL as the
sessionKey
parameter to form the magic link.
With these steps, you can generate magic login links for users, offering them a seamless and secure login experience with 3B Portals.