Skip to content

Provision to include request context(query params, headers) in AuthenticatorFunc #4806

@neelayu

Description

@neelayu

Is your feature request related to a problem? Please describe.
A facility to access request params such as query string in addition to already existing headers would be useful in the AuthenticatorFunc

Describe alternatives you've considered
Pass the queryParams along with headers in the map passed to the above func. Probably not the best approach.

Additional context
Authenticators such as apiToken validators would need to pick the token from either the header or query string. In such case, the current implementation wont be sufficient.
We need a more generic way of handling this.

@jpkrohling

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions