Hi, I want to ask is it possible to make requests ...
# ory-selfhosting
a
Hi, I want to ask is it possible to make requests to
/admin/...
on a local Docker Kratos API. And if yes how 🙂 I have
CORS error
and in the
kratos.yml
serve.admin.cors
setting is not available... Also is there a way to create API key for the local Docker admin API?
w
Typically your admin endpoint shouldn't be exposed on the internet, if it is, then you should properly secure it. CORS only applies for requests running in the browser, which would cause your credentials to be leaked. You should query the admin endpoint server-side IMO.
👍 1