This sample application illustrates the three parts of the DoorDash JWT. It builds a token that is valid for 30 minutes. Please obtain a set of DoorDash Credentials (Developer ID, Key ID, and Signing Secret) in the DoorDash Developer Portal to use in the application.
This application targets .NET 7 and requires a Windows OS to run. The code source and build files provided in this repository are samples and not intended for production and are not supported.
Follow these steps to run the sample app:
- Install the .NET 7 runtime or SDK.
- Unzip the DoorDashAPIWinFormsApp.zip file in a local folder on a Windows machine.
- Double click DoorDashAPIWinFormsApp.exe from the uncompressed folder.
- Provide the DoorDash Credentials (Developer ID, Key ID, and Signing Secret) created in the DoorDash Developer Portal.
- Click the "Update JWT" button.
Follow these steps to build the sample app with the .NET CLI:
- Install the .NET 7 SDK (includes the .NET CLI).
- Clone this repo to local folder or download and the files in the source folder into a local directory.
- Open a command window and change the directory to folder that folder that contains the source files
- Run the following command:
dotnet build
- The application can be run from within the ../bin/Debug/net7.0-windows/ folder.
Follow these steps to build the sample app with Visual Studio:
- Install the .NET 7 SDK (includes the .NET CLI).
- Install Visual Studio 2022 (Community, Professional, or Enterprise).
- Clone this repo to local folder or download and the files in the source folder into a local directory.
- Open the DoorDashAPIWinFormsApp.csproj project in Visual Studio.
- auth0 JWT Debugger
- DoorDash API JWT JSFiddle Sample
- make-doordash-jwt CLI
- DoorDash API get started with Postman
- DoorDash SDK Example Application
Please join the DoorDash Developer Discord community to provide feedback and ask questions about developing with the DoorDash API.