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

Preserve access tokens when refreshing tunnel #288

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

jasongin
Copy link
Member

When calling management APIs like getTunnel() or updateTunnel(), if the input Tunnel object has one or more tokens inn its accessTokens property, those tokens should be preserved in the returned Tunnel object if not refreshed by the request.

@IlyaBiryukov
Copy link
Contributor

Please add unit tests.

IlyaBiryukov
IlyaBiryukov previously approved these changes Aug 1, 2023
@jasongin
Copy link
Member Author

jasongin commented Aug 2, 2023

Please add unit tests.

Done.

@jasongin jasongin merged commit d54b31b into main Aug 3, 2023
11 checks passed
@jasongin jasongin deleted the dev/jasongin/manage-tokens branch August 3, 2023 17:56
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

Successfully merging this pull request may close these issues.

2 participants