Using OAuth 2.0 authentication

Required Tempo product: Tempo Timesheets for Cloud 

Required permission: JIRA Administrators, Tempo Administrators, Tempo Team Administrator and Tempo Account Administrator

Generates credentials for: Tempo REST API

 

If you are an application developer with the required Tempo administrator permissions, you can immediately generate credentials using secure OAuth 2.0 authentication to support your applications. You can generate a unique Client ID and Client secret code for each application.

Once you have generated your credentials according to your preferences, you can obtain an access token for your application to make requests to the Tempo REST API.

Refer to the Tempo REST API documentation for information about how to retrieve, restore and revoke an access token.

For detailed information about OAuth 2.0, consult their specification at https://oauth.net/2/.

To generate credentials:

  1. Select Tempo>Tempo settings or click the Settings_Icon.png icon on the Tempo sidebar to the left.
  2. Under Developer Tools, select OAuth 2.0 Applications.
  3. Fill in the fields and select values as appropriate, then click Add. Your named credentials are generated and added to the page. 

    Note: You will typically select Authorization code as the Authorization grant type.
    Dev_OAuth2.png
  4. Under Actions, click the Information icon Info_Icon.png to display the Credentials dialog.
     
    Dev_OAuth2_Cred.png
  5. Click the copy icon to the right of the Client ID or Client secret to copy it to the clipboard. You can then obtain an access token for your application, and then make requests to the Tempo REST API.

To revoke credentials:

  1. Under Actions, click Delete. A confirmation dialog is displayed.Click Revoke to revoke the credentials and delete the named credentials from the page.

 To retrieve an access token, refer to the Tempo REST API documentation.

Was this article helpful?
0 out of 1 found this helpful

Comments

Article is closed for comments.