Timesheets (Cloud)

Using OAuth 2.0 Authentication

Extending the functionality of Tempo to integrate with external systems or users requires the Tempo Administrator, Jira Administrator, Tempo Team Administrator, and Tempo Account Administrator permissions.

Integrators can use OAuth 2.0 to provide secure authentication for access to Tempo data.

The Implicit authorization grant type has been deprecated and can no longer be selected.

Generate Credentials for Access to Tempo Data

  1. Select Settings in the Tempo sidebar.

  2. Under Data Access, select OAuth 2.0 Applications.

  3. Add a New Application.

    oauth-new-app.png
  4. Enter Name, Redirect URIs, and Client Type.

  5. Click Add.

Your named credentials are generated and added to the page. You can copy your credentials immediately or view them later.

oauth-creds.png

View Generated Credentials

  1. In the list of OAuth 2.0 Applications, find your named credentials.

  2. Open the Actions menu, and then select Credentials.

    oauth-actions-menu.png
  3. Click the Copy icon to the right of the Client ID or Client secret to copy it to the clipboard.

    oauth-creds.png

You can obtain an access token for your application, and then make requests to the Tempo REST API.

Authorization URL:
<https://api.tempo.io/oauth/authorize/redirect?client_id=><CLIENT_ID>&redirect_uri=<REDIRECT_URI>&jira_url=<https://<your-site-name>>.<http://atlassian.net|atlassian.net>

The above URL sends the user to the right authorization page for your instance. If you see “Invalid client id: undefined” on a Forge-migrated instance, use the authorization page for your instance directly:

<https://<your-site-name>>.<http://atlassian.net/apps/full-page/|atlassian.net/apps/full-page/><installationId>/oauth-authorize/?client_id=<CLIENT_ID>&redirect_uri=<REDIRECT_URI>

Integrating with MCP Clients

If you are using an MCP client such as Microsoft Copilot Studio to integrate with Tempo, you may need to enter OAuth 2.0 settings manually.

PE-1958-20261124-004255.png

First, create an OAuth 2.0 application in Tempo (see above sections) to obtain your Client ID and Client Secret. Then, use the following values in your client configuration:

Field

Value

Client ID / Client Secret

From your Tempo OAuth 2.0 application

Authorization URL

<https://api.tempo.io/oauth/authorize/redirect?client_id=$CLIENT_ID&redirect_uri=$REDIRECT_URI&jira_url=https://{jira-cloud-instance-name}.atlassian.net>

Token URL

https://api.tempo.io/oauth/token/

Refresh URL

https://api.tempo.io/oauth/token/
(same as the Token URL)

Scopes

Optional. Tempo does not require specific scopes to be entered here.

After entering these values, your client will typically provide a Callback URL (sometimes called a Redirect URI). You must add this URL to the Redirect URIs field in your Tempo OAuth 2.0 application settings to allow the sign-in process to complete.

Identifying the Authorizing User

When an application obtains an access token via Tempo OAuth 2.0, the token grants access to Tempo data based on the permissions of the user who authorized it.

Please note the following regarding user identification:

  • No "Whoami" Endpoint: The Tempo REST API does not currently provide a whoami or me endpoint to identify the authorizing user from the bearer token alone.

  • No User Details in Token: Tempo does not return the Atlassian accountId or other profile details of the authorizing user to the application owner during the OAuth flow.

  • Jira API Requirement: To identify the user, your application must separately authenticate with the Jira Cloud REST API and use the Jira Cloud platform REST API (GET /rest/api/3/myself) using a Jira-specific token. The Tempo bearer token cannot be used to call Jira APIs.

Update Generated Credentials

  1. In the list of OAuth 2.0 Applications, find your named credentials.

  2. Open the Actions menu, and then select Edit.

  3. Update the application, and then click Edit Application.

The named credentials are updated.

Revoke Credentials

  1. Select the credentials you want to revoke.

  2. Open the Actions menu, and then select Delete.

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/ .