add Nostr-login package #217
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "nostr-login-9-30"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR will replace our custom implementation of the login methods (
nip05
,npub
,nbunker
,extension
) with the packagenostr-login
(https://github.com/nostrband/nostr-login).The package adds additional login methods for the users, aside from the existing ones, which include using a signup (generate new key pairs), using
connect
method directly foramber
(https://github.com/greenart7c3/Amber) andnsec.app
(https://nsec.app/).The old development login method with private keys is kept for development purposes mostly and can be removed at a later date.
PR also includes the following changes:
PrivateKeyStrategy
andNostrLoginStrategy
which change how we encrypt and decrypt the data inNostrController
, adding a new login method should be a lot smoother in the future (hopefully 🤞)useLogout
nostr-login
settings
page to includenostr-login
related popup links - links toaccount-switch
andimport
/export screenssettings/profile
page to include a link to theimport
/export screen if we are usinglocal
method (generated keys)Additional fixes:
rel=noopener
to some linksnot-allowed
cursor to coming soon fieldsStill WIP due to:
802a6bc6ab
to995c7ce293
WIP: add Nostr-login packageto add Nostr-login package