Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow-client: Make sure to remove any potentially expired JWT from the client used to exchange a refresh token for an access token in refresh_authorizations() #1725

Merged
merged 2 commits into from
Oct 21, 2024

Commits on Oct 21, 2024

  1. flow-client: Make sure to remove any potentially expired JWT from the…

    … client used to exchange a refresh token for an access token in `refresh_authorizations()`
    
    While running down some issues with Dekaf, namely frequent consumer group rebalances, I noticed that these rebalances correlated with Dekaf errors such as:
    
    ```
    dekaf: error=failed to obtain access token
    
    Caused by:
        Unauthorized: {"code":"PGRST301","details":null,"hint":null,"message":"JWT expired"}
    ```
    jshearer committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    bb3e312 View commit details
    Browse the repository at this point in the history
  2. flow-client: Rename with_creds to with_user_access_token to bette…

    …r represent its behavior
    jshearer committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    43413b4 View commit details
    Browse the repository at this point in the history