7 Commits

Author SHA1 Message Date
SHAcollision
6386f1ae43 feat: signup tokens (#80)
* Add admin and signup config

* Add signup tokens API, db, admin endpoint

* Add client api for signup codes

* Add tests and fixes

* Fix wasm build

* Lint

* enable and use same admin pswd on all test homeservers

* fix pr review comments

* Add nodejs and browser signup token to tests

* update signup example

* admin authing as layer

* Update pubky-homeserver/src/core/routes/auth.rs

Co-authored-by: Severin Alexander Bühler <8782386+SeverinAlexB@users.noreply.github.com>

* Update pubky-homeserver/src/core/routes/auth.rs

Co-authored-by: Severin Alexander Bühler <8782386+SeverinAlexB@users.noreply.github.com>

* rename getSignupToken util

* add is_used() SignupToken method

---------

Co-authored-by: Severin Alexander Bühler <8782386+SeverinAlexB@users.noreply.github.com>
2025-03-17 15:58:58 -04:00
nazeh
62ddf0fbe6 feat(js): export AuthRequest in js as a wrapper around native 2025-02-09 22:45:58 +03:00
nazeh
8be809c159 feat: update pkarr and mainline and add pubky ClientBuilder 2025-02-04 21:56:23 +03:00
nazeh
5972b48316 feat(pubky): rename PubkyClient to Client 2024-11-14 15:30:01 +03:00
nazeh
af390e8087 feat(pubky): PubkyClient::builder().build() return result 2024-11-14 15:17:36 +03:00
nazeh
ba66c3ccd7 chore(examples): cargo fmt 2024-10-02 18:21:21 +03:00
nazeh
02bea3146c examples(authn): add signup example 2024-10-02 17:17:01 +03:00