Skip to content

[Improvement]: Retry mechanism for oauth2 upstream-auth policy #3295

Description

@Thenujan-Nagaratnam

Please select the area the issue is related to

Gateway

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)

Suggested Improvement

We need a retry mechanism for the oauth2 upstream-auth policy so that a failed authenticated call to the upstream (e.g. a 401 due to an expired/invalid token) can be retried.

This is applicable to the model failover policy as well. The same problem we have where we need to retry with the fallback model/endpoint when the request fails.

Related Issues

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions