For instance, this request:
let res = await api.asUser().requestJira(route`/jsm/assets/workspace/${workspaceId}/v1/importsource/${importId}/configstatus`);
It works just fine for AssetsImportType module, but I'm getting 403 forbidden, when I try running it in other forge modules. I understand that workspaceId & importId are provided within AssetsImportType module's extensionContext. However, lets say, when I provide them "manually" for some other module isn't it supposed to work too?
Also I have managed to run the same request using fetch() just fine. However I need to provide the basic auth for that manually. Also first I have to create request fetch("