Skip to content

fix: refresh token calculation and better logs#145

Merged
afonsojramos merged 2 commits into
afonsojramos:mainfrom
samip5:fix_refresh_tokens_and_better_logs
Dec 3, 2025
Merged

fix: refresh token calculation and better logs#145
afonsojramos merged 2 commits into
afonsojramos:mainfrom
samip5:fix_refresh_tokens_and_better_logs

Conversation

@samip5

@samip5 samip5 commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

📑 Description

Closes #144

✅ Checks

  • code: My pull request adheres to the code style of this project
  • docs: Added / updated

ℹ Additional Information

@samip5 samip5 changed the title Fix refresh tokens calculation and better logs Fix refresh token calculation and better logs Sep 26, 2025
@samip5 samip5 changed the title Fix refresh token calculation and better logs fix: refresh token calculation and better logs Sep 26, 2025
@afonsojramos afonsojramos force-pushed the fix_refresh_tokens_and_better_logs branch from a779bcc to 24fc17c Compare December 2, 2025 18:28
- Remove the log() wrapper function from utils.rs
- Use tracing::info!, tracing::error!, tracing::warn!, tracing::debug! directly
- Add in-memory state update after token exchange to keep Env struct in sync
- Remove sensitive token data from debug log output
- Use structured logging with field parameters where appropriate
@afonsojramos

Copy link
Copy Markdown
Owner

Thanks for the PR and sorry for the delay reviewing!

@afonsojramos afonsojramos merged commit b077912 into afonsojramos:main Dec 3, 2025
4 checks passed
@samip5 samip5 deleted the fix_refresh_tokens_and_better_logs branch December 3, 2025 05:02
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.

OAuth token doesn't seem to be valid for 3 months

2 participants