From c9f871e5b4cac000862359a8e8f1bde35b9a35cf Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 22 Apr 2021 14:14:30 +0200 Subject: [PATCH] fix api routes --- docker/kratos/oathkeeper/access-rules.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/kratos/oathkeeper/access-rules.yml b/docker/kratos/oathkeeper/access-rules.yml index 46063c6b..d2fdb89d 100644 --- a/docker/kratos/oathkeeper/access-rules.yml +++ b/docker/kratos/oathkeeper/access-rules.yml @@ -23,7 +23,7 @@ preserve_host: true url: "http://dashboard:3000" match: - url: "http://oathkeeper:4455/<{_next/**,auth/*,recovery,verify,error,favicon.ico}{/,}>" + url: "http://oathkeeper:4455/<{_next/**,auth/**,recovery,verify,error,favicon.ico}{/,}>" methods: - GET authenticators: @@ -38,7 +38,7 @@ preserve_host: true url: "http://dashboard:3000" match: - url: "http://oathkeeper:4455/<{,api/*,settings,uploads,downloads,payments}>" + url: "http://oathkeeper:4455/<{,api/**,settings,uploads,downloads,payments}>" methods: - GET - POST