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}"}
douwe_maan
08/02/2021, 10:04 PMdouwe_maan
08/02/2021, 10:04 PMvisch
08/02/2021, 10:08 PMaaronsteers
08/11/2021, 6:19 PMstephen_bailey
08/12/2021, 10:15 AMdouwe_maan
08/12/2021, 3:02 PMaaronsteers
08/12/2021, 5:41 PM