<@U04UQ68083H> Can I integrate kratos with the hyd...
# ory-copilot
l
@chilly-king-10285 Can I integrate kratos with the hydra as the identity provider?
c
A message from kapa.ai
Yes, you can integrate Ory Kratos with Ory Hydra as the identity provider. This can be particularly useful when migrating users from a legacy system. An alternative to callback and custom code is fronting the legacy system with Ory OAuth2 & OpenID Connect (Ory Hydra) and then using that as an upstream in Ory Identities (Ory Kratos). For more details, you can refer to the [Ory documentation](https://www.ory.sh/docs/kratos/debug/troubleshooting#automatic-user-migration-from-legacy-system).
l
@chilly-king-10285 How to do the same/
c
A message from kapa.ai
I'm sorry, but the provided extracts do not contain specific instructions on how to integrate Ory Kratos with Ory Hydra as the identity provider. However, you can refer to the Ory documentation for more detailed instructions and examples. Here are some useful links: - [Ory Kratos Documentation](https://www.ory.sh/docs/kratos/) - [Ory Hydra Documentation](https://www.ory.sh/docs/hydra/) These resources should provide you with the necessary information to perform the integration. If you encounter any issues, feel free to reach out to the Ory community or support.