Skip to content

Rate limiting based on client id from token #1176

@sachinjagdale

Description

@sachinjagdale

New feature

Requirement is as follows

Rate limit as per client id from auth token. (Bearer token for e.g)
Need white listing based on client id in token

I need to use client id from token instead of header. header based implementation not suitable in cases where user can make requests by changing client id .

Is there way to do this ClientRateLimitingMiddleware? I can see some code coupled with middleware (whitelist check and header verification) so cannot extend it.

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions