This program implements the basic logic for OAuth signing. I created it to make sure I understood how it worked.
This program is written in TypeScript and run via Deno. Follow these steps to run the tests.
- Clone this repository.
- Install Deno (by following their instructions).
- Navigate to the cloned code in your terminal.
- Run the
deno test
command.
These resources were very helpful for me when figuring out and verifying this algorithm.
- WordPress Signing Requests guide
- OAuth 1.0 Authentication Sandbox