Hi Ory Community! Could you help me with the following beginner’s question: How can I protect the hydra admin endpoint so that it is accessible from other networks? In my case, I need to call the admin API from google cloud functions, that is, I would like to have an access token that allows me to access the hydra admin API (similar to how auth0 allows me to create access tokens to the auth0 management API). Many thanks!
acoustic-processor-1957
08/29/2022, 9:38 AM
I’m thinking about re-creating auth0 management API with expressjs that allows me to access all ory admin APIs, and then create a ory hydra client for each application that needs to consume that API
To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.