diff --git a/docker/kratos/oathkeeper/access-rules.yml b/docker/kratos/oathkeeper/access-rules.yml index b2063b3a..4b345fe9 100644 --- a/docker/kratos/oathkeeper/access-rules.yml +++ b/docker/kratos/oathkeeper/access-rules.yml @@ -76,4 +76,6 @@ mutators: - handler: id_token errors: - - handler: json + - handler: redirect + config: + to: http://127.0.0.1/auth/login