Creating a Custom OAuth Application
Creating a Custom OAuth Application
Creating a custom OAuth application enables you to generate OAuth credentials that are passed during user authentication.
Procedure
- Log in to your TSheets Account.
- At the left navigation pane, select Feature Add-ons > Manage Add-ons.
- Select API Add-On.
- Click Install.
- Select Add a new application at bottom left. If a followup window does not display, return to the left navigation pane's Feature Add-ons area and select API.
- Enter a short name and a meaningful description for the new application.
- Set the Redirect URL to http://localhost:33333 (the add-in's default) OR set a different port of your choice.
Record this value; you will supply it as the CallbackURL. - Click Save. The admin tool generates the OAuth Client Id and Client Secret.
Record these values for future use. - (Optional:) If you want to generate your access token now and connect with InitiateOAuth set to OFF, click Add Token at the bottom left portion of the display. This generates a token for immediate use.
You can access the custom OAuth application (referred to as the API Add-On) from the left navigation pane's Feature Add-ons section.