clockworklabs / clockworklabs/SpacetimeDB

Support for SDK auth token association with email

Open
#1,388 0 comments 0 reactions 3 assignees View on GitHub

@gefjon is already working on this.

Since Jun 11, 2024.

Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

John: Unclear what this means.

Do we want to be able to do effectively spacetime identity set-email from the client, to enable token recovery? If so, why - I wouldn't generally expect a user to have access to one long hex string but have lost the other.

Do we want to extend the local-storage (save_credentials/load_credentials) interfaces to store a mapping from email to creds, rather than creds alone? If so, why - client authors can do whatever they want with identity/token pairs; what lengths should we go to in offering convenient interfaces for common patterns? Is associating tokens with emails a common pattern for clients?

Tyler: It means each SDK should have a setEmail function.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.