Skip to content

Proper landing pages for request-level authentication errors #2

Description

@jordanjean

When request-level authentication fails, it would be more convenient to redirect user to proper error pages for the following errors.

Something like:

  • RBAC: access denied: "Sorry, your request cannot be authenticated. You need a valid JWT token."
  • jwt authentication failed: "The token embedded in your request is not valid. This security incident will be reported."

It should be possible to implement these redirections using Istio Envoy Filter, see: https://niravshah2705.medium.com/redirect-from-istio-e2553afc4a29.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions