You can use any technology you want to create the web API.
Here are common example scenarios for reference.
These are examples relating to Step 1.4 of Step 1- Authentication.
Example Authentication API -- Using NodeJS and Axios
Note: Do NOT use this code on the client-side for security reasons.
Example Authentication API -- Using PHP and cURL