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

Refresh of ersatz client not initializing correctly #222

Open
jjg-123 opened this issue Nov 19, 2024 · 0 comments
Open

Refresh of ersatz client not initializing correctly #222

jjg-123 opened this issue Nov 19, 2024 · 0 comments

Comments

@jjg-123
Copy link
Contributor

jjg-123 commented Nov 19, 2024

The sequence FTS uses is to get an access token (AT), then do an exchange for a refresh token (RT) then do a refresh using the RT to get both a new AT and RT. Ersatz clients should be refreshable after multiple exchanges. A bug found was that the exchange creates the ersatz client and forks it, but the refresh does not fully recover the newly formed ersatz client (which may inherit state from its provisioner).

I.e. after forking a flow, subsequent uses of the now forked client are fully initialized.

jjg-123 added a commit that referenced this issue Nov 19, 2024
jjg-123 added a commit that referenced this issue Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant