@salesforce/ui-bundle-template-feature-react-mfa 11.69.0 → 11.69.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,12 @@ The Salesforce platform handles the entire MFA flow:
|
|
|
23
23
|
|
|
24
24
|
**No custom React UI is needed.** The platform handles the challenge page rendering.
|
|
25
25
|
|
|
26
|
+
> **Local preview limitation:** MFA can only be exercised on the **deployed** site. In
|
|
27
|
+
> local preview (`npm run dev` on `localhost`), `sdk.fetch` is proxied to the org
|
|
28
|
+
> outside the Experience site's guest context, so `Site.login()` cannot establish the
|
|
29
|
+
> site session and login fails with _"Your login attempt has failed…"_. This is
|
|
30
|
+
> expected — test MFA on the published site login page, not `localhost`.
|
|
31
|
+
|
|
26
32
|
## Prerequisites
|
|
27
33
|
|
|
28
34
|
Before installing this feature, ensure the following are already in place:
|
|
@@ -111,12 +117,13 @@ The platform supports these MFA verification methods (configured at the org leve
|
|
|
111
117
|
|
|
112
118
|
## Troubleshooting
|
|
113
119
|
|
|
114
|
-
| Problem
|
|
115
|
-
|
|
|
116
|
-
| No MFA challenge appears
|
|
117
|
-
| `API_DISABLED_FOR_ORG` after login
|
|
118
|
-
| MFA page shows default branding
|
|
119
|
-
| `vforcesite` in MFA page URL
|
|
120
|
+
| Problem | Solution |
|
|
121
|
+
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
122
|
+
| No MFA challenge appears | Verify `MFA_Required_For_Community` is assigned to the user |
|
|
123
|
+
| `API_DISABLED_FOR_ORG` after login | Assign `API_Enabled_For_Community` permission set |
|
|
124
|
+
| MFA page shows default branding | Deploy `NetworkBranding` metadata via Metadata API |
|
|
125
|
+
| `vforcesite` in MFA page URL | Expected behavior — platform serves MFA from Force.com Site domain |
|
|
126
|
+
| Login fails only in local preview (`localhost`) | Expected — MFA via `Site.login()` needs the Experience site session that local preview cannot provide. Test on the published site. |
|
|
120
127
|
|
|
121
128
|
## Emergency Rollback
|
|
122
129
|
|