conductor-sdk / conductor-python

Conductor OSS SDK for Python programming language
Apache License 2.0
62 stars 29 forks source link

Cannot access conductor-server with URL based creds #119

Closed marcocrasso closed 2 years ago

marcocrasso commented 2 years ago

Prior Python client for Conductor server works with requests, which parses creds from URLs if any, and makes an authentification header. This is useful for intranet servers.

How to reproduce

configuration = Configuration()
        self.assertEqual(
            configuration.host,
            'http://user:pass@your_secured_server:8080/api/'
        )

Trying to reach any resource of the above configured server will get a 401 error.

gardusig commented 2 years ago

Done: #120