0

I am using bearer token for rest API authentication in Magento2.3.2 but I am facing one issue, while registering the new user, admin authentication token is required while registering New user by API. So my question is how I can register new user with authentication?

2

1 Answer 1

1

Take a look at vendor/magento/module-customer/etc/webapi.xml

<route url="/V1/customers" method="POST">
    <service class="Magento\Customer\Api\AccountManagementInterface" method="createAccount"/>
    <resources>
        <resource ref="anonymous"/>
    </resources>
</route>

As we can see, we can create a new customer account without token.

2
  • I want to reg. with token but don't go with admin token , is this possible by customer token? Jan 31, 2020 at 9:19
  • Why do we need token? Jan 31, 2020 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.