Skip to content

Conversation

@tusharpandey13
Copy link
Contributor

@tusharpandey13 tusharpandey13 commented Nov 18, 2025

docs: add docs for optimizing token refresh in middleware

@tusharpandey13 tusharpandey13 requested a review from a team as a code owner November 18, 2025 11:18
@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.56%. Comparing base (c850dbd) to head (3b73a2b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2426   +/-   ##
=======================================
  Coverage   90.56%   90.56%           
=======================================
  Files          39       39           
  Lines        4515     4515           
  Branches      932      932           
=======================================
  Hits         4089     4089           
  Misses        420      420           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

EXAMPLES.md Outdated

if (expiresInSeconds < TOKEN_REFRESH_THRESHOLD) {
try {
await auth0.getAccessToken(request, authRes);
Copy link
Contributor

@nandan-bhat nandan-bhat Nov 18, 2025

Choose a reason for hiding this comment

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

Do we need { refresh: true } here ?

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.

4 participants