We am unable to use any JWT library as part of our custom connector development. Our intention is to use jwt in order to create an RSA 256 Bearer Token for authenticating our requests to a REST API Source. We have tried the following libraries and still failed: pyjwt, python-jose, jwcrypto, authlib. If we try to include these libraries in our import statements in source.py and include the necessary installation command in the Dockerfile (pip install pyjwt), we are unable to deploy the resulting Airbyte connector docker image as a new Custom Connector within Airbyte. We get the following below errors (attached as screenshots) when we try to add a new connector, or change an existing connector with the jwt import statement. Can you help us make sense of these errors? Does Airbyte support using jwt libraries for creating JWT Tokens for RSA 256?
Just to be clear, the issue is not that we are unable to run the connector locally on our machine using the command line. The issue is that we cannot integrate/install this connector on Airbyte UI. Please also note that we are using the open source version of Airbyte, not the official paid cloud offering of Airbyte.
Do I need to run the following commands in the docker image that we are building for the connector?
source .venv/bin/activate
pip install -r requirements.txt
pip install ‘.[tests]’
I am building the connector as a docker image using the following command:
docker build . -t airbyte/source-cpm:dev
This results in a docker image (airbyte/source-cpm) which I then try to deploy within the Airbyte UI:
You should be able to add new connectors in the Airbyte UI using the Open Source. Can you share the server logs to identify the error for adding the connector? Also you can intercept the API call in developer tools → network tab.
Hi there from the Community Assistance team.
We’re letting you know about an issue we discovered with the back-end process we use to handle topics and responses on the forum. If you experienced a situation where you posted the last message in a topic that did not receive any further replies, please open a new topic to continue the discussion. In addition, if you’re having a problem and find a closed topic on the subject, go ahead and open a new topic on it and we’ll follow up with you. We apologize for the inconvenience, and appreciate your willingness to work with us to provide a supportive community.