Skip to content

Document server-issued token reconnect behavior#5085

Closed
clockwork-labs-bot wants to merge 3 commits into
masterfrom
bot/docs-5079-server-issued-auth
Closed

Document server-issued token reconnect behavior#5085
clockwork-labs-bot wants to merge 3 commits into
masterfrom
bot/docs-5079-server-issued-auth

Conversation

@clockwork-labs-bot
Copy link
Copy Markdown
Contributor

Description of Changes

Fixes #5079.

This adds a focused authentication doc section for server-issued tokens and reconnect behavior, with the deeper transport-specific detail kept close to the HTTP identity reference instead of spreading it through the SDK docs.

It also updates the Unity tutorial snippets in Parts 2 and 3 so Unity WebGL builds do not overwrite a saved long-lived server-issued token with a short-lived WebSocket token during reconnect.

API and ABI breaking changes

None.

Expected complexity level and risk

1

Docs-only change. The only code changes are tutorial snippets showing a safer Unity WebGL token-persistence pattern.

Testing

  • git diff --check
  • Reviewer sanity-check the new auth explanation against the current WebGL/browser token exchange behavior.

@clockwork-labs-bot clockwork-labs-bot force-pushed the bot/docs-5079-server-issued-auth branch from fba1804 to 58bb889 Compare May 21, 2026 18:10
@bfops bfops removed the request for review from cloutiertyler May 21, 2026 18:16
@clockwork-labs-bot
Copy link
Copy Markdown
Contributor Author

Superseded by consolidated docs PR #5166.

pull Bot pushed a commit to Mu-L/SpacetimeDB that referenced this pull request Jun 5, 2026
## Summary

Consolidates the outstanding docs PRs opened by `clockwork-labs-bot` /
Docs Gremlin into one reviewable PR:

- clockworklabs#4958
- clockworklabs#5085
- clockworklabs#5089
- clockworklabs#5097
- clockworklabs#5112
- clockworklabs#5114
- clockworklabs#5117
- clockworklabs#5127
- clockworklabs#5138
- clockworklabs#5165
- clockworklabs#5175
- clockworklabs#5222

This combines docs updates for:

- getting-started links
- server-issued auth token reconnect behavior in the Unity tutorial
- C++ module/client language coverage
- Unreal client ticking / `FrameTick` guidance
- C# connection callback signatures and codegen language spelling
- deterministic schedule-table sample time
- client frame ticking troubleshooting
- corrected `spacetime generate` usage for Unreal bindings
- TypeScript framework integration reference updates for SolidJS and
current React query-builder tuple usage

## Validation

- `rg -n '^(<<<<<<<|=======|>>>>>>>)' docs crates skills`
- `git diff --check origin/master...HEAD`
- `pnpm --dir docs typecheck`
- `pnpm --dir docs build`

---------

Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com>
Co-authored-by: rain <rain@rain.local>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
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.

Add description of default Auth (not SpacetimeAuth/OIDC) to Docs/Authentication

2 participants