1
0
forked from baron/baron-sso

oathkeeper 동작 확인

This commit is contained in:
Lectom C Han
2026-01-28 20:07:52 +09:00
parent 39594f8e21
commit ff17259117
9 changed files with 368 additions and 68 deletions

View File

@@ -14,7 +14,7 @@ errors:
access_rules:
repositories:
- file://${RULES_FILE:-/etc/config/oathkeeper/rules.json}
- file:///etc/config/oathkeeper/rules.active.json
authenticators:
noop:
@@ -34,6 +34,13 @@ authorizers:
enabled: true
config:
remote: http://keto:4466/check
payload: |
{
"namespace": "permissions",
"object": "{{ print .Request.URL.Path }}",
"relation": "access",
"subject_id": "{{ print .Subject }}"
}
mutators:
noop: