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

feat: Remove refresh token if token is too big #1092

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

alldoami
Copy link
Contributor

@alldoami alldoami commented Jan 10, 2025

We can make use of the MarshalOptNoRefresh function to remove the refreshToken in case keyring returns saying it is too big to set. We are comparing the exact string right now but we want to upgrade the keyring package to have the exact error type ErrSetDataTooBig (https://github.com/zalando/go-keyring/blob/master/keyring.go#L17).

@alldoami alldoami marked this pull request as ready for review January 10, 2025 00:17
@alldoami alldoami requested a review from a team as a code owner January 10, 2025 00:17
@alldoami alldoami requested a review from wontonst January 10, 2025 00:17
@alldoami alldoami requested review from hspitzley-czi and a team January 10, 2025 00:20
@alldoami alldoami merged commit 23d4604 into main Jan 10, 2025
10 checks passed
@alldoami alldoami deleted the CDI-3651-remove-refresh-token branch January 10, 2025 00:20
@czi-github-helper czi-github-helper bot mentioned this pull request Jan 10, 2025
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