Hi! This is Vir. I am quite novice in this Authori...
# talk-hydra
r
Hi! This is Vir. I am quite novice in this Authorization related work so sorry if it's a very basic question but.. I am trying to implement an auth service which will be running Ory/Hydra in the backend. As a test, I want to run the service as follows: 1. run Hydra server + user login and consent providing service on one server (<- server1) 2. Use another server as an OAuth2 Client (<- server2) 3. Using client credentials, make an access-token issue request from the server2 to server1 But I can't seem to make that connection between those 2 servers. (SideNote: Both servers are running under the same network and they can ping each other. So it's a not a connection issue.) When I run all of them on the same server, as given in the example docs (Run Oauth2 Server, Hydra-5min-Tutorial), it is working properly. So I am guessing I am making some configuration mistake. 🤔 If someone has any example for how to do that or knows what configurations we need to change so that I can run hydra server and oauth2 client on different server, please let me know. Thank you in advance.
Actually I was able to set up it up now. 🎊 I was making mistake in callback url and how to set up the frontend. If anyone is interested, this article helped me find my mistake and with the implementation: https://yusufs.medium.com/practical-example-of-implementing-oauth-2-0-using-ory-hydra-fbaa2765d94f