Implementing Session Token Authentication in Custom Python HTTP-API-based Connector

Summary

The user is developing a custom Python HTTP-API-based connector and wants to implement Session Token Authentication similar to what is available in the Connector Builder. They are looking for guidance on how to achieve this and if there are plans to add this functionality to the Connector Builder.


Question

Hi, I’m developing a custom Python HTTP-API-based connector. I started using the Connector Builder in the UI, but I need to be able to inject dates from a stream slice inside of a query parameter rather than as its own parameter. In the Connector Builder I was using the Session Token Authentication method.

My question is: how can I implement that same Authentication method in a custom Python HTTP-API-based connector? The only options out of the box (ie. in requests_native_auth) don’t seem to have this functionality. Am I missing something or do I just need to implement a custom Authenticator? If so, are there any plans to add the existing Authentication functionality in the Connector Builder for HTTP-API-based connectors in Python?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["custom-python-connector", "http-api-based", "session-token-authentication", "connector-builder", "authentication", "python"]

Recently I was touching those areas. I finished with implementing my own authenticator inheriting from AbstractHeaderAuthenticator