stephen_bailey
08/02/2021, 10:03 PMBasicAuthenticator
to the SDK? I have had to do this base64
approach a couple times now, and it took me a bit to figure it out the first time:
raw_credentials = f"{stream.config['username']}:{stream.config['password']}"
auth_token = base64.b64encode(raw_credentials.encode()).decode("ascii")
auth_headers = {"Authorization": f"Basic {auth_token}"}