Skip to content

Expose refresh token expiration date.#577

Merged
brnnmrls merged 2 commits intomainfrom
briannamorales/refreshTokenExpiresIn
Feb 6, 2026
Merged

Expose refresh token expiration date.#577
brnnmrls merged 2 commits intomainfrom
briannamorales/refreshTokenExpiresIn

Conversation

@brnnmrls
Copy link
Member

@brnnmrls brnnmrls commented Feb 4, 2026

In our token response from the server, we receive a "refresh_token_expires_in" value. This PR adds handling for this value and checks for refresh token expiration in refreshTokensIfNeeded.

Fixes #565

Adds handling for "refresh_token_expires_in" and checks
for refresh token expiration in refreshTokensIfNeeded.

Fixes #565
@brnnmrls brnnmrls self-assigned this Feb 4, 2026
@brnnmrls brnnmrls marked this pull request as ready for review February 4, 2026 03:15
@brnnmrls brnnmrls requested a review from w-goog February 4, 2026 03:15
Copy link
Contributor

@w-goog w-goog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending the one requested change :)

@brnnmrls brnnmrls requested a review from w-goog February 5, 2026 23:39
@brnnmrls brnnmrls merged commit 1d65c61 into main Feb 6, 2026
18 checks passed
@brnnmrls brnnmrls deleted the briannamorales/refreshTokenExpiresIn branch February 6, 2026 18:12
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.

Refresh_token_expires_in not getting from google OAuth token api by passing ServerAuthCode.

2 participants