Generating a magic login link

From 3B Knowledge
Revision as of 04:15, 17 October 2023 by Admin (talk | contribs) (Created page with "== Introduction == 3B Portals offers a seamless experience for users through a passwordless login mechanism using magic links. These magic links employ <code>sessionKey</code> 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 (<code>sessionKey</code>), that facilitates direct login into 3B Portals without requiring a password. This mechanism boosts security and user experience by obviating the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  1. Initiate the "Get Magic Link" Apex Action in your Salesforce org.
  2. Pass the desired Contact ID to obtain the session key.
  3. 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.