Commit Graph

200 Commits

Author SHA1 Message Date
nazeh
db006612ef feat(js): return Session class from auth methods 2024-09-07 11:35:24 +03:00
nazeh
32377080d1 feat(js): add authRequest() 2024-09-06 22:17:12 +03:00
nazeh
cfd50451a2 examples(authz): simplify authenticator using native methods 2024-09-06 15:09:58 +03:00
nazeh
a03117114b feat(homeserver): return 403 Forbidden for insufficient permisisons 2024-09-06 14:10:46 +03:00
nazeh
f1b65e9dac feat(pubky): add PubkyClient::auth_request and send_auth_token 2024-09-05 20:50:02 +03:00
nazeh
a7f70ccb1b feat(common): serialize capabilities in AuthToken as a string with ',' separator 2024-09-05 13:06:00 +03:00
nazeh
f6f356f6ae Merge branch 'main' of https://github.com/pubky/pubky into feat/authz 2024-09-04 13:23:23 +03:00
nazeh
aa935a3711 test(pubky): add back resolvers in PubkyClient::test() 2024-09-04 12:57:52 +03:00
nazeh
e496f7a821 test(pubky): put event get sequence 2024-09-04 10:53:03 +03:00
nazeh
a7b030c4f1 refactor(pubky): signin_with_authtoken used in both signin methods 2024-09-03 13:50:04 +03:00
nazeh
c442675104 feat(common): AuthToken add namespace and remove homeserver/aud 2024-09-03 12:22:34 +03:00
nazeh
5773b2d046 wip: first demo of authz 2024-09-03 11:31:36 +03:00
nazeh
634d309766 examples(authz): test thirdPartySignin() 2024-09-02 17:05:06 +03:00
nazeh
854fbd8c6f Merge branch 'main' of https://github.com/pubky/pubky into feat/authz 2024-09-02 11:16:46 +03:00
nazeh
002abbbbca feat(pubky): add PubkyClientBuilder::testnet() and skip setting dht_request_timeout in CI 2024-09-02 09:40:01 +03:00
nazeh
25f757f94d feat(pubky): add PubkyClient::authorize() 2024-09-02 00:22:32 +03:00
nazeh
cd32df075b feat(pubky): use rustls-tls feature in reqwest 2024-09-02 00:21:27 +03:00
nazeh
582e4b8259 refactor(common): rename AuthToken fields for clarity 2024-09-02 00:20:55 +03:00
nazeh
cf46ff849c examples(authz): update svgs and add copied to clipboard note 2024-09-02 00:20:02 +03:00
nazeh
0fe5e1aa74 feat(common): simplify Capabilities 2024-09-01 19:33:04 +03:00
nazeh
5d9be5c0f0 feat(js): add randomBytes() and hash() functions 2024-09-01 18:17:34 +03:00
nazeh
915ae66f1a feat(js): add window.pubky and move static methods out of PubkyClient 2024-09-01 16:47:22 +03:00
nazeh
de38987d96 refactor(pubky): move recovery_file code to pubky_common 2024-08-31 17:29:32 +03:00
nazeh
8c56e6033b wip: test keyring cross platforms 2024-08-31 11:09:16 +03:00
nazeh
52fddd807b examples(authz): initial authenticator using keyring crate 2024-08-31 00:12:04 +03:00
nazeh
8e70b2b0e6 examples(authz): initial use of httprelay callback function 2024-08-30 13:38:40 +03:00
nazeh
16771d662b test(pubky): increase request_timeout to avoid failing resolution 2024-08-30 13:24:43 +03:00
nazeh
e31191bc32 Merge branch 'main' of https://github.com/pubky/pubky into feat/authz 2024-08-30 12:17:33 +03:00
nazeh
467738bb23 test(pubky): increase request_timeout to avoid failing resolution 2024-08-30 11:25:05 +03:00
nazeh
eeb2784da7 examples(authz): style fixes 2024-08-30 11:11:02 +03:00
nazeh
7fc0e00e41 examples(authz): switch from plain js to web components 2024-08-30 10:46:52 +03:00
nazeh
9bc83a6dac Merge branch 'main' of https://github.com/pubky/pubky 2024-08-30 09:32:27 +03:00
nazeh
61ff688dff test(pubky): use bootstrap as a resolver to help with flaky tests 2024-08-30 09:32:15 +03:00
nazeh
6071d4b7c4 Merge branch 'main' of https://github.com/pubky/pubky into feat/authz 2024-08-30 09:25:12 +03:00
nazeh
041a86a2d3 test(pubky): use bootstrap as a resolver to help with flaky tests 2024-08-30 09:22:29 +03:00
nazeh
51c3e444b0 examples(authz): start 3rd party app frontend 2024-08-29 19:05:36 +03:00
nazeh
16dfc09687 feat(homeserver): store and return session capabilities 2024-08-29 11:48:21 +03:00
nazeh
8118e94430 fix(pubky): return error if resolve_endpoint couldn't find non Pkarr domain 2024-08-28 20:39:32 +03:00
nazeh
892d5b2d9a fix(pubky): resolve_endpoint break loop if packet not resolved 2024-08-28 20:34:28 +03:00
nazeh
98910b40de feat(homeserver): update signup and signin to use new AuthToken 2024-08-28 19:55:29 +03:00
nazeh
f3469d34a4 feat(common): update AuthToken and AuthVerifier 2024-08-28 15:32:25 +03:00
nazeh
2312a3071f Merge branch 'feat/authz' of https://github.com/pubky/pubky into feat/authz 2024-08-27 17:18:04 +03:00
nazeh
aaf01cf2d7 feat(common): add AuthToken with scopes 2024-08-27 17:15:25 +03:00
Nuh
9131cefdd9 Merge pull request #27 from pubky/feat/feed
Feat/feed
2024-08-26 18:45:29 +03:00
nazeh
19dd3cb2ba feat(common): add serde to Timestamp 2024-08-26 16:37:29 +03:00
nazeh
ab7c005d67 feat(common): add serde to Timestamp 2024-08-26 14:24:37 +03:00
nazeh
a5dfff2ed5 Merge branch 'main' into feat/feed 2024-08-25 11:54:47 +03:00
nazeh
620e2ad2ee feat(pubky): add PubkyClientBuilder 2024-08-25 11:54:24 +03:00
nazeh
76d154bf97 Merge branch 'main' into feat/feed 2024-08-23 11:18:04 +03:00
nazeh
7eecfb3fa7 feat(homeserver): add testnet option to config.toml 2024-08-23 11:17:54 +03:00