Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 438936f

Browse files
authored
Merge pull request #7393 from sta1r/AM/session-auth-edits
Add caveat for webapi admin session authentication bug
2 parents 5300a14 + 4c99610 commit 438936f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/guides/v2.3/get-started/authentication/gs-authentication-session.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ For example, if a customer is logged in to the Magento storefront and the [JavaS
2323

2424
`GET /rest/V1/customers/me`
2525

26-
Similarly, if an admin is logged in to the Magento Admin
27-
and the JavaScript widget `Magento_Customer::group` API, details for the logged-in admin are fetched.
28-
The web API framework establishes the identity of the admin user based on logged-in session information and authorizes access to the `Magento_Customer::group` resource.
26+
Similarly, if an admin is logged in to the Magento Admin and the JavaScript widget invokes the `Magento_Customer::group` API, details for the logged-in admin are fetched. The web API framework establishes the identity of the admin user based on logged-in session information and authorizes access to the `Magento_Customer::group` resource.
2927

30-
{:.bs-callout-info}
31-
The session based authentication functionality is restricted to only allow for AJAX calls and not direct browser requests due to security vulnerabilities. A developer can create a custom storefront widget that can issue requests without additional authentication steps.
28+
{:.bs-callout-warning}
29+
Admin session-based authentication is not currently possible for API endpoints.
30+
The session based authentication functionality is restricted to AJAX calls. Direct browser requests cannot be made due to security vulnerabilities. A developer can create a custom storefront widget that can issue requests without additional authentication steps.
3231

3332
## Related topic
3433

0 commit comments

Comments
 (0)