This sample is an example of how to create a JWT using .NET and C# when calling the DoorDash API. Additionally, it creates a delivery request using the JWT to authenticate.
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 8. 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:
- Clone repository locally.
- Open the Project in your .NET IDE of choice (Visual Stuido, VSCode, Rider).
- Update all TODO placeholder items in source.
- Debug or Run Project.
- 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.