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
Not sure if this is the right repo for this issue, but the host option is necessary for the client to work. All the examples in the docs in the sdk repo do not mention anything about it.
Failing example:
OryClient.configuredo |config|
config.access_token="api_key"endapi_instance=OryClient::IdentityApi.newid="user-id"opts={include_credential: ["password"],}result=api_instance.get_identity(id,opts)# The output:# OryClient::ApiError: Couldn't resolve host name# HTTP status code: 0
Working example:
OryClient.configuredo |config|
config.access_token="api_key"config.host="https://project-slug.projects.oryapis.com"endapi_instance=OryClient::IdentityApi.newid="user-id"opts={include_credential: ["password"],}result=api_instance.get_identity(id,opts)# The output: an actual user object
The text was updated successfully, but these errors were encountered:
Not sure if this is the right repo for this issue, but the
host
option is necessary for the client to work. All the examples in the docs in the sdk repo do not mention anything about it.Failing example:
Working example:
The text was updated successfully, but these errors were encountered: