in my Custom UI App, I have a resolver method which does
const myself = await (await api.asUser().requestJira(route
trying the endpoint on my browser, I get the right result:
However, the console.log in the resolver is spitting out the wrong user (!)
What kind of sorcery is happening over here?
Is this the only log you have? Are you the only developer on this particular site?
It may have been another user invoking the Forge app on accident.
If you’re certain the above isn’t the case then could you mention the steps to reproduce the problem
I am the sole developer of this app, and I am a 100% sure that this is the log.
I discovered another similar bug.
const check = ‘ADMINISTER,ADMINISTER_PROJECTS’
const permissions = await (await api.asUser().requestJira(route
Testing this endpoint on my browser, I get the right result:
However, the resolver returns this:
It returns true for the Permissions, but they are clearly false.