Skip to content

docs: avoid Clerk token refresh reconnects#5559

Open
clockwork-labs-bot wants to merge 1 commit into
masterfrom
bot/fix-clerk-token-refresh-docs
Open

docs: avoid Clerk token refresh reconnects#5559
clockwork-labs-bot wants to merge 1 commit into
masterfrom
bot/fix-clerk-token-refresh-docs

Conversation

@clockwork-labs-bot

Copy link
Copy Markdown
Contributor

Description of Changes

Fixes the Clerk React authentication docs so the sample captures the initial signed-in Clerk JWT once and keeps that token stable while the user remains signed in. This prevents Clerk background token refreshes from changing the SpacetimeDBProvider input and reopening the SpacetimeDB connection.

Updated both the current Clerk doc and the version-1.12.0 copy.

API and ABI breaking changes

None. Documentation only.

Expected complexity level and risk

  1. This is a narrow docs-only change to a React sample.

Testing

  • pnpm -C docs build

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