Access to Insight API inside Connect app

Hi Team!

How can I acees Insight API inside Connect app (e.g.,{workspaceId}/v{version}/object/{id})? Documentation says that you need use Basic auth with API token, email of user encoded in base64. But how to make requests inside connect app? I tried several methods (from my app backend with addon.checkValidToken(), with AP library, with axios together with JWT authorization header) and all of them return me 401 ‘Unauthorized’ error. Maybe I can get API token (not JWT) inside my app?



Yes. To my knowledge, none of the Connect JWT mechanisms will work. Your client will need to ask the user for an API token.


ibuchanan Thanks for answer!

Vote please

1 Like