I’m developing a custom Jira app using Forge and attempting to authenticate with Tempo using OAuth 2.0 credentials. However, I’m encountering the following error:
Could not retrieve profile information: {“error”: “Failed to parse Connect Session Auth Token”}
My manifest.yml file contains the following:
providers:
auth:
- key: tempo
name: Tempo
type: oauth2
clientId: tbarKvj6OnMSF....tMp0wdds9B
remotes:
- tempo-apis
bearerMethod: authorization-header
scopes: []
actions:
authorization:
remote: jira-base
path: /plugins/servlet/ac/io.tempo.jira/oauth-authorize/
exchange:
remote: tempo-apis
path: /oauth/token
revokeToken:
remote: tempo-apis
path: /oauth/revoke_token
retrieveProfile:
remote: jira-base
path: /rest/api/3/myself
method: GET
resolvers:
id: accountId
displayName: displayName
remotes:
- key: jira-base
baseUrl: https://kenneth-venken-youston.atlassian.net
- key: tempo-apis
baseUrl: https://api.tempo.io
I’ve set the client secret with:
forge providers configure
I’ve set the redirect url to:
But after I grant permissions and click the onwards button
i get the following error:
Any help would be much appreciated!