get secret key when i creating webhook woocommerce - woocommerce

I creating a webhook using woocommerce api
https://woocommerce.github.io/woocommerce-rest-api-docs/#create-a-webhook
https://prnt.sc/1uqlr31
when I create a webhook then he didn't respond secret key
how can I get the secret key? https://prnt.sc/1uqmzam
Thank you in advance.

Related

Authentication for the Firebase Cloud Function-based API with API key and OAuth - getting the uid in from the request

I'm working on the custom express API based on the single Cloud Function and I'd like to secure the endpoints with the authentication. I'm aiming for implementing the API key flow and OAuth 2.0 authorization code flow. In my endpoint functions I'd need to obtain the user id somehow and I was wandering how can I archive that. Should I mix Firebase Token (createCustomToken) with these auth flows? e.g in the API key flow when user generates a new token on the frontend then on the backend I should create a Firebase Token instead of custom hashed token and store it in db?
Any ideas how to do it properly, maybe are there any other/better ways to retrieve the uid?

Is it possible to get access to the woocommerce api via wp rest api?

im writing an app to update product details in my wordpress/woocommerce shop.
i'm able to do this via woocommerce api consumer key and consumer secret. now i want to login via wordpress user password. this is no problem. i'm using jwt auth and check the token. but how can i now receive the woocommerce api keys based on this user details?
thanks for your help.
greets
I'm expecting the keys as a return value from a GET request. I don't want to hardcode the keys.

How to authenticate existing customer via WooCommerce rest API

I am creating a mobile app for a WooCommerce website and have gotten to a stage where I want the user to login or signup to the WooCommerce website before they continue with a purchase.
I can create a new customer no problem but I am having trouble when trying to authenticate an existing customer. After looking at the rest api docs for WooCommerce, I haven't come across any endpoint that will allow an existing user to log in to their account. Is there any endpoint that will allow me to do this that isn't documented?
There might be other ways but what comes to my mind immediately is to use JWT Authentication for WP REST API plugin.
Using this plugin you can request for authentication on the server using the username and password. It will return a token if successful. Then use the token for checking if this user/customer is valid. If valid, use wc api to create an order for this customer.

How to update data from device via REST to Firebase

I have been working on a problem, where I want to update the value on Firebase Real-time Database.
I am unable to understand is there any way where I can validate my HTTPS request by my custom AUTH key? As I don't want the device to get the auth token from user authentication.
Thanks in advance.

WooCommerce Rest API - how to authenticate customers? [duplicate]

I am creating a mobile app for a WooCommerce website and have gotten to a stage where I want the user to login or signup to the WooCommerce website before they continue with a purchase.
I can create a new customer no problem but I am having trouble when trying to authenticate an existing customer. After looking at the rest api docs for WooCommerce, I haven't come across any endpoint that will allow an existing user to log in to their account. Is there any endpoint that will allow me to do this that isn't documented?
There might be other ways but what comes to my mind immediately is to use JWT Authentication for WP REST API plugin.
Using this plugin you can request for authentication on the server using the username and password. It will return a token if successful. Then use the token for checking if this user/customer is valid. If valid, use wc api to create an order for this customer.

Resources