Atlassian-connect-express to use ACT_AS_USER scope

Well, just tested on Windows and made it run.
Now i already have the app running on Jira.

Now, just got 2 doubts …
I was trying to use this example to make what i want …

First problem is the addon.authenticate()
What authorization he is waiting on the call? My base64 email:token as a Authorization header? ( already tryed this one ).

Anyway, i could simply take this auth out from the endpoint…
But then i get a:
TypeError: Cannot read properties of null (reading ‘asUserByAccountId’)

Anyway, i get that even if i do not use the asUserByAccountId.
TypeError: Cannot read properties of null (reading ‘post’)

Any idea from where can i explore?

Thank you :slight_smile:

1 Like