Hi guys, I'm trying to integrate Hydra and Kratos,...
# ory-selfhosting
c
Hi guys, I'm trying to integrate Hydra and Kratos, i'm trying to use the API Flow. I start the auth by hit the Hydra /auth with authorization_code grant types, it redirected to Kratos flow and successfully authenticate (returns the Kratos session). But i don't redirected back to hydra. Did i miss something? Hydra:
Copy code
urls:
  self:
    issuer: <http://127.0.0.1:4444>
  consent: <http://127.0.0.1:3000/consent>
  login: <http://127.0.0.1:4433/self-service/login/api>
  logout: <http://127.0.0.1:3000/logout>
  identity_provider:
    url: <http://kratos:4434>
    publicUrl: <http://kratos:4433>
Kratos:
Copy code
oauth2_provider:
  url: <http://hydra:4444>
  override_return_to: true
i follow this guide, i successfully got the auth code. But i want to execute it fully using curl / API.