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
It seems that the Python client is checking for client_credentials in the optional grant_types_supported field for the discovery response.
/weaviate/venv/lib/python3.7/site-packages/weaviate/connect/connection.py", line 201, in _set_bearer
if 'client_credentials' not in request_third_part.json()['grant_types_supported']:
KeyError: 'grant_types_supported'
However, our OpenID Connect provider Azure AD does not provide this optional field in its discovery response (apparently).
Yet we are able to authenticate to Weaviate with OIDC via the REST API just fine (and perform read/write), so we would expect the Python client to (hopefully) behave the same.
Here is connection excerpt from the Python client:
Hi @kendistiller, as the issue is with the python client we will transfer this issue over. We are working to provide documentation for using Weaviate with Azure AD.
It seems that the Python client is checking for
client_credentials
in the optionalgrant_types_supported
field for the discovery response.However, our OpenID Connect provider Azure AD does not provide this optional field in its discovery response (apparently).
Yet we are able to authenticate to Weaviate with OIDC via the REST API just fine (and perform read/write), so we would expect the Python client to (hopefully) behave the same.
Here is connection excerpt from the Python client:
The text was updated successfully, but these errors were encountered: