Provision during sign-in
space is the space sign-in provisions, and permissions lists what the app will do there. See Declare what your app uses.
In the Web SDK, autoCreateSpace defaults to true. In the Node SDK, it defaults to false, so backends that own their own space should opt in explicitly.
Check the active space
After sign-in,spaceId gives you the current primary space URI. Use that value when you need to confirm which container the next tc.kv or node.kv call will target.
Additional owned spaces
TinyCloudNode can host additional owned spaces by name after sign-in:secrets and the node has not hosted it yet.
Next step
Verified against
@tinycloud/web-sdk and @tinycloud/node-sdk 3.0.0.