Hi :wave:, I'm newber about Ory, specifically Ory...
# ory-network
h
Hi šŸ‘‹, I'm newber about Ory, specifically Ory Hydra. My system serves a mobile app, and my boss has asked me to integrate with Ory Hydra as a place to issue JWT tokens to users after they've completed identity verification. I want to know whether I can achieve this, considering that everything I do is on the backend side. I want to know if this is possible, since everything must be handled from the backend. I want to design the system so that the backend service calls Ory hydra with the user ID from our system and generates a JWT token. However, I’m not sure where to start or what a proper flow should look like. Please help me. Thanks a lot šŸ¤—
m
Hey @handsome-farmer-55705, are you looking for https://www.ory.sh/docs/oauth2-oidc/resource-owner-password-grant ? I am not sure what exactly your use case is to be honest
h
Thanks you your response very much, @magnificent-energy-493. I want the backend system to call Ory Hydra, passing in information such as the user ID ( from your existing system,) and then receive a JWT token in return. This token will be used subsequently for purposes like authenticating requests or maintaining user sessions. It's is the same flow at https://www.ory.sh/docs/oauth2-oidc/resource-owner-password-grant, but i don't know Ory Hydra Opensource can support me resolve this problem?
m
@handsome-farmer-55705 I see, no Ory Hydra in Open Source does not support the resource owner password grant anymore - it is an unsafe and outdated grant anyway, so you most likely should not be using it. If you have other questions on open source Hydra, please ask them in #C02PSRUGUAV - this channel is for users of Ory Network only. Thanks!