I can't link my forge appwith github

i’m trying create a simple app to show a result of a request to github api into an isue panel but for days now i get the following error:

Trace ID: bf0480d2a5bb11bf
There was an error invoking the function - Authentication required

i will appreciate your help please

My manifest file

modules:
jira:issuePanel:
- key: me2git
function: main
title: Made by me
icon: link
function:
- key: main
handler: index.run
provider:
auth:
- git
app:
id: ari:cloud:ecosystem::app/c23d7eb2-3456-407e-a386-0d2fa357dd1d
providers:
auth:
- key: git
name: git
scopes:
- ‘profile’
type: oauth2
clientId: client id of the oauth app i created in github
remotes:
- git-apis
bearerMethod: authorization-header
actions:
authorization:
remote: git-account
path: /login/oauth/authorize
exchange:
remote: git-oauth
path: /login/oauth/access_token
revokeToken:
remote: git-oauth
path: /revoke
retrieveProfile:
remote: git-apis
path: my github repo
resolvers:
id: id
displayName: email
avatarUrl: picture
remotes:

  • key: git-apis
    baseUrl: api github url
  • key: git-account
    baseUrl: github url
  • key: git-oauth
    baseUrl: github url
    permissions:
    external:
    fetch:
    backend:
    - github url
    - api github url
1 Like

can anyone help me please