1
0
forked from baron/baron-sso
Files
baron-sso/deploy/templates/ory/oathkeeper/rules.json

16 lines
380 B
JSON

[
{
"id": "backend-api-rule",
"match": {
"url": "<.*>://<.*>/api/v1/<.*>",
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH"]
},
"upstream": {
"url": "http://backend:{{BACKEND_PORT}}"
},
"authenticators": [{ "handler": "cookie_session" }],
"authorizer": { "handler": "remote_json" },
"mutators": [{ "handler": "noop" }]
}
]