When using the Hydra (2.1.1) and Kratos (0.11.1) t...
# talk-kratos
a
When using the Hydra (2.1.1) and Kratos (0.11.1) together the
flow.oauth2_login_request
is not populated when initailizing login flow.
flow.oauth2_login_challenge
is populated and I can see from the kratos container's logs that it makes a request to
<http://hydra:4445/admin/oauth2/auth/requests/login>
. Also when I tested that endpoint manually with the login_challenge found from browser I got the information of the hydra login. Am I missing some configuration in addition to this in the
kratos.yml
Copy code
oauth2_provider:
  url: <http://hydra:4445>
One thing that I noticed in other examples connecting kratos and hydra I found that they don't have the above config. Should this be working with the versions I'm using? I couldn't find anything from the docs.
Seems like the resulting flow has the
flow.oauth2_login_request
when I redirect from hydra to kratos'
/self-service/login/browser
and then get the flow using
frontendApi.getLoginFlow()
or
/self-service/login/flows
endpoint but that variable is missing if I create the login flow by
frontendApi.createBrowserLoginFlow()
which calls
/self-service/login/browser
. I'll check if there's a bug open about this already.