Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Add automatic token refresh to TokenRelayGatewayFilterFactory #175

@thekalinga

Description

@thekalinga

Bug report

As of now TokenRelayGatewayFilterFactory cascades access token even if it expired. If the access token is expired, this filter should attempt to refresh the token if refresh tokens are supported, else get fresh new token before sending the request downstream

ServerOAuth2AuthorizedClientExchangeFilterFunction already does this for WebClient based on the current OAuth2AuthenticationToken, TokenRelayGatewayFilterFactory should emulate it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions