Skip to content

Update from code changes: refresh token localStorage persistence - #390

Merged
yash-pouranik merged 1 commit into
mainfrom
mintlify/ba8f5b37
Aug 14, 2026
Merged

yash-pouranik merged 1 commit into
mainfrom
mintlify/ba8f5b37

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Update SDK and React SDK docs to reflect that refresh tokens are now persisted in localStorage and login/signup/refresh use header mode for cross-domain auth.

Changes

  • sdk/auth.mdx: Note browser storage keys (ub_auth_token, ub_refresh_token) and x-refresh-token-mode: header; update the refreshToken section to describe header-mode with cookie fallback; add refreshToken field to the AuthResponse example; expand Manual token management with the new setToken(token?, refreshToken?) signature and new getRefreshToken() / setRefreshToken() helpers.
  • react-sdk/ur-provider.mdx: Describe how the provider restores sessions from localStorage and refreshes over the x-refresh-token header (with cookie fallback).
  • react-sdk/overview.mdx: Clarify which keys the session management uses and mention header-mode refresh.

Context

Follows source PR #389 ("fix(sdk, react): persist refresh token in localStorage and use header mode for cross-domain auth").

@mintlify
mintlify Bot requested a review from yash-pouranik as a code owner August 14, 2026 05:29
@mintlify

mintlify Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
urbackend 🟢 Ready View Preview Aug 14, 2026, 5:30 AM

@yash-pouranik
yash-pouranik temporarily deployed to mintlify/ba8f5b37 - urBackend-frankfrut PR #390 August 14, 2026 05:29 — with Render Destroyed
@vercel

vercel Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ur-backend-web-dashboard Ready Ready Preview Aug 14, 2026 5:30am
urbackend Ready Ready Preview Aug 14, 2026 5:30am

@yash-pouranik
yash-pouranik merged commit 3a73c8e into main Aug 14, 2026
12 checks passed

This branch was successfully deployed

3 active deployments
Preview – urbackend — 1d56a4a1 Deployed Aug 14, 2026 by vercel[bot]
Preview – ur-backend-web-dashboard — 1d56a4a1 Deployed Aug 14, 2026 by vercel[bot]
staging - mintlify/docs — 1d56a4a1 Deployed Aug 14, 2026 by mintlify[bot]
mintlify/ba8f5b37 - urBackend-frankfrut PR #390 — 1d56a4a1 Deployed Aug 14, 2026 by yash-pouranik
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.

1 participant