Description
YEGHRO Nostr Login enables WordPress users to authenticate using their Nostr keys, providing a seamless bridge between the decentralized Nostr protocol and WordPress websites.
Key Features
- One-click login with Nostr browser extensions (NIP-07 compatible)
- Automatic user registration for new Nostr users
- Profile synchronization from Nostr metadata
- Configurable Nostr relay settings
Screenshots
Installation
- Upload
nostr-login
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu
- Go to Settings > Nostr Login to configure relay settings
FAQ
-
What is Nostr?
-
Nostr is a decentralized protocol enabling censorship-resistant social networking and authentication.
-
Is it safe to use my Nostr keys?
-
We recommend using a NIP-07 compatible browser extension like Alby or nos2x for the safest experience.
-
How do I install the required PHP-GMP extension?
-
The PHP-GMP extension is required for secure cryptographic operations. Here’s how to install it:
For Ubuntu/Debian:
1. Run:sudo apt-get update && sudo apt-get install php-gmp
2. Restart PHP/web server:sudo service php-fpm restart
(or apache2 if using Apache)For CPanel:
1. Contact your hosting provider to enable the PHP-GMP module
2. Most managed WordPress hosts can enable this through the hosting control panelFor Windows:
1. Open php.ini file
2. Uncomment the line: extension=gmp
3. Restart your web serverAfter installation, verify GMP is enabled by checking your site’s PHP info page.
Reviews
Contributors & Developers
“YEGHRO Nostr Login” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “YEGHRO Nostr Login” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.7
- 1.6 modifcation proved to be unstable. Reverted to more stable and secure setup that requires user to
manually install PHP-GMP extension to ensure secure authenticated login. Instructions are below in FAQ.
1.6
- nip98 modifications.
1.5
- Added more robust authentication flow using nip98 for better
1.4
- Added option to redirect users after login (to admin, home or profile page)
1.3
- Added option for existing WordPress users to connect/sync their Nostr accounts from within profile profile page
1.2
- Enhanced profile synchronization
- Improved relay configuration options
- Bug fixes and performance improvements
1.0
- Initial release
- Automatic user registration
- Basic profile sync features