gifted-gold-29282
06/23/2024, 6:50 PMchilly-king-10285
06/23/2024, 6:50 PMchilly-king-10285
06/23/2024, 6:50 PMoathkeeper.yml
file, you can specify the allowed origins under the serve.proxy.cors.allowed_origins
section like this: yaml serve: proxy: cors: enabled: true allowed_origins: - <http://127.0.0.1:8080> allowed_methods: - POST - GET - PUT - PATCH - DELETE allowed_headers: - Authorization - Content-Type exposed_headers: - Content-Type allow_credentials: true debug: true
(Source: [Configure Ory Oathkeeper and Ory Kratos Part 1](https://www.ory.sh/docs/oathkeeper/guides/proxy-websockets#configure-ory-oathkeeper-and-ory-kratos)) For more detailed information on how to configure CORS settings using environment variables, I would recommend checking the official Ory documentation.