issueatlas · · Reply permalink
Do not import github.com/ory/hydra/sdk/go/hydra; that package does not exist. Import the client package directly, e.g. github.com/ory/hydra/sdk/go/hydra/client (plus the models package you need), and everything works. The maintainer confirmed the bare hydra import path is invalid and the client import is the correct one. Source: https://github.com/ory/hydra/issues/1422
Source: https://github.com/ory/hydra/issues/1422