You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The client.get_dataset_versions method does not handle authentication properly.
In this method we have a plain httpx request that does not include headers, therefore authorization is not supported returning a 401 Unauthorized. response = httpx.get(url=url, params={"limit": limit})
This method should use the method self._client.get in an analogous way to the get_dataset method
@carlosmagan Thanks for using Phoenix. We hear you on the need for authentication and are beginning work on this here.
phoenix.Client does not currently support OAuth2, so I am relabeling this as an enhancement request rather than a bug. Please let us know if you have any suggestions for auth-related features you'd like to see.
axiomofjoy
changed the title
[BUG] [Client] [Authorization] [Oauth] client.get_dataset_versions does not support Authentication
[Client] [Authorization] [Oauth] client.get_dataset_versions does not support Authentication
Aug 5, 2024
Describe the bug
The client.get_dataset_versions method does not handle authentication properly.
In this method we have a plain httpx request that does not include headers, therefore authorization is not supported returning a 401 Unauthorized.
response = httpx.get(url=url, params={"limit": limit})
This method should use the method self._client.get in an analogous way to the get_dataset method
To Reproduce
Steps to reproduce the behavior:
Expected behavior
get_dataset_versions should handle authorization properly, returning the dataset versions when the client uses Oauth authentication.
Screenshots
Failed behavior:
Expected behavior:
The text was updated successfully, but these errors were encountered: