[WebAPI] customer email confirmation via WebAPI paradox #39255
Labels
Issue: ready for confirmation
Reported on 2.4.7
Indicates original Magento version for the Issue report.
Preconditions and environment
customer/create_account/confirm
to1
and clear cache to let this setting take effectSteps to reproduce
Try activate customer via
https://<domain>/rest/V1/customers/me/activate
.Output:
{"message":"The consumer isn't authorized to access %resources.","parameters":{"resources":"self"}
Try get customer access token as described in official document.
You will get EmailNotConfirmedException(You may need a PHP debugger)
Expected result
Can activate(confirm) the customer via WebAPI.
Actual result
Cannot activate(confirm) the customer via WebAPI.
Additional information
See webapi.xml
This endpoint requires resource
self
.Paradox:
So to activate(confirm) customer, you need customer token.
To get customer token, you need to activate(confirm) the customer first.
Related Customer Confirmation Bug: #39254
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: