Answering my own question.
For plugin developers, the directive is to use current_user_can() in your code as usual in the REST endpoints, as Core does.
WordPress 5.4 does not support authenticated requests originated from outside WordPress to the REST API yet. But your clients can use plugins such as Basic Auth, OAuth2 or JWT to add that functionality.
The REST team in WordPress is working to add a built-in authentication method into Core, most likely, OAuth2. Now is May 01 2020. My blatant, probably wrong guess, is that this could be coming to Core in 12~ months or so.
2021 update
REST API authentication with Application Passwords was added in WordPress core on 5.6!
Related Posts:
- JWT on Woocommerce cannot work with “Customer” role user
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- How to authenticate custom API endpoint in WooCommerce [closed]
- Process checkout using WC REST API
- Extend Woocommerce rest api routes fails
- Rest API authentication issue when called from fetch request in bundle.js
- Can’t GET draft posts via REST API from headless frontend
- How to filter Post using Meta Data REST API
- How to stop a Gutenberg Block from firing multiple GET Requests?
- Output JSON object with woocommerce products
- Problem with cURL and rest API
- WP REST API GET Requests require authentication
- Woo API REST : product variation price is read-only?
- Category Tree In WooCommerce Product API
- How to save generated JWT token to cookies on login?
- How to upload Woocommerce product images via API? [closed]
- How to handle Woocommerce API credentials
- What will make Woocommerce REST API to issue 401 [closed]
- Woocommerce custom endpoints
- Woocommerce REST API – updating an order changes custom tax calculations
- Woocommerce Rest Api Categories problem [closed]
- API returns blank response after installing & uninstalling WP-rest-api plugin
- Delete cookie when changing url (when navigating away from specific page of website)
- woocommerce axios react
- Get specific values in Woocommerce Rest API
- wc_get_products() not return the images details
- WooCommerce – Add product with image via REST API
- Tax are not showing on order while placing order with REST API
- Woocommerce REST API – add filter to set maximum query per page for product brands [closed]
- WooCommerce – Create multiple product tags via rest api endpoint
- Using the WordPress and WooCommerce REST APIs in the same Node app
- Retrieve Data from Custom Endpoint
- Log in user using WordPress REST API
- How to verify which WordPress user requested the API in ASP .NET Core?
- How to run code when cookie is added?
- How to solve `Error getting remote image` in woocommerce rest api script?
- Getting in an exception for get product detail by id in woocommerce REST api
- Impossible to create a new WooCommerce customer using Rest API
- Woocommerce API security concerns
- How can I send information when a order is completed to my own POS?
- Woocommerce Rest API: woocommerce_product_invalid_image_id
- How to get cookie value?
- The same session information for peer users on two different WordPress servers
- WC Booking query bookings with date ranges
- “error_message”: “Sorry, you cannot list resources.” using WooCommerce API
- Woocommerce REST API: creating variations
- Woocommerce REST API not considering discounts and coupons
- Users credentials and syncing from third party with WooCommerce
- WooCommerce REST API endpoints don’t exist
- Fetch products with filter by similar categories at same time
- Rest Api WordPress
- Send data to external websites when there is an update or create a post
- Auto generating API keys using the Application Authentication Endpoint [closed]
- GET woocommerce order request is not showing meta data [closed]
- How to add fee_lines using woocommerce rest API v3?
- Update a server-side render Block when woocommerce cart block changed
- How to validate a user from ouside wordpress/php?
- why does WordPress need two cookies for auth/login
- wc_get_template_part( ‘content’, ‘product’ ) | Where is this file located?
- how to get woocommerce product attribute slug
- How to check WordPress website username and password is correct
- How to display product price of the product in loop
- Add a custom button with custom link after add to cart for every product
- Redirect woocommerce single-product page
- Remove action on product archive page [closed]
- New endpoint in my account gives 404 Error Woocommerce 3.6.5 and WP 5.2.2
- Add Custom CSS to Woocommerce Product Page in a specified category
- WooCommerce showing star rating review instead of text review string
- Username field is not shown in Woocommerce’s registration contact form
- Woocommerce Membership Expiry Date
- Get WooCommerce product attribute taxonomies in a SQL query on WordPress database
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- Custom Redirect after registration in WooCommerce
- How to echo billing phone number under My Account in Woocommerce? [closed]
- Show all author products from specific category
- Unknow php file in wordpress core [closed]
- woocommerce_get_price filter hook not working for product variation price
- Woocommerce SKU on ALL products page [closed]
- Stop WooCommerce from updating user/user meta after checkout
- Displaying Custom Input Value to Customer Order Details (My Account) page in Woocommerce
- Sort orders by custom order meta – Woocommerce Orders admin page
- Redirect user to cart page when add to cart button is clicked
- Get rid of product images mobile swipe functionality from WooCommerce single product [closed]
- how i can add more required * fields in checkout page?
- Disable Local Attributes woo commerce
- Woocommerce set cookie after a sale [closed]
- How to upload images from wordpress front-end (the first image must be thumbnail and the rest without first must be in gallery woocommerce product)
- Problems with varibel price [closed]
- REST API: best place to set current user for JWT auth?
- Custom Admin Email Subject for Woocommerce (3.8.0) Orders
- Modifying custom order item meta from admin order view
- Tax Query for custom Taxonomy field
- WooCommerce – Exclude category from snippet
- Replacing products on Woocommerce Product Category with Search Results from SearchWP [closed]
- Creating custom permalink tags for WooCommerce
- Add Custom Slug Tags Per Page
- How to override Woocommerce functionality in Reports section?
- how can use woocommerce add to cart popup?
- Do I need a different product type for WooCommerce [closed]