Skip to content

Conversation

@carillonator
Copy link

@carillonator carillonator commented Sep 30, 2025

Description

Add --pass-refresh-token option, copied almost verbatim from --pass-access-token.

Motivation and Context

Fixes #3216

This will help support offline access.

How Has This Been Tested?

Updated tests to be more generic and include refresh and ID tokens.

Also built a docker image, ran locally and confirmed works.

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.
  • I have created a feature (non-master) branch for my PR.
  • I have written tests for my code changes.

@william-will-angi
Copy link

I think the intent of this project is to move away from CLI args and towards alpha config. You can accomplish this with an alpha config:

injectResponseHeaders:
  - name: X-Auth-Refresh-Token
    values:
      - claim: refresh_token

@carillonator
Copy link
Author

I think the intent of this project is to move away from CLI args and towards alpha config. You can accomplish this with an alpha config:

injectResponseHeaders:
  - name: X-Auth-Refresh-Token
    values:
      - claim: refresh_token

@william-will-angi thanks, but we are not comfortable running in alpha mode, having been burned by bugs in the past, and we need a stable interface for production systems

@Antvirf
Copy link

Antvirf commented Oct 15, 2025

Super useful, looking forward to seeing this merged!

@tuunit
Copy link
Member

tuunit commented Oct 28, 2025

Hi @carillonator as @william-will-angi mentioned we are moving forward with the alpha config. I want to get the alpha to beta by the end of this year. Therefore we are not going to introduce additional legacy flags in the next couple of weeks / months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Option to pass refresh token upstream

4 participants