Skip to content

What happens when the url matches multiple access rules? #934

Answered by gen1us2k
spietras asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately oathkeeper does not handle it at startup but you'll get an internal server error because of duplicated URL patterns with the following message

  "error": {
    "code": 500,
    "status": "Internal Server Error",
    "message": "Expected exactly one rule but found multiple rules"
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spietras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants