Skip to content

The AuthenticationFilter is called on webhook #14867

@loicmathieu

Description

@loicmathieu

Describe the issue

The AuthenticationFilter is called even on anonymous endpoints like Webhook, as it load the authentication from the setting it incurs a small performance hit.

If it cannot be avoided, it may also be an idea to check whether or not we can cache the auth as in OSS there is only one so loading it from the settings on each request seems overkill

Environment

  • Kestra Version: develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/backendNeeds backend code changeskind/cooldownGreat candidate for the cooldown periodkind/performancePerformance-related issue

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions