{"id":198967,"date":"2024-10-31T08:02:28","date_gmt":"2024-10-31T08:02:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/nostr-login\/"},"modified":"2025-01-31T02:55:18","modified_gmt":"2025-01-31T02:55:18","slug":"nostr-login","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/nostr-login\/","author":23089791,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.8","stable_tag":"1.8","tested":"6.7.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"YEGHRO Nostr Login","header_author":"YEGHRO","header_description":"A plugin that allows users to log in using Nostr.","assets_banners_color":"","last_updated":"2025-01-31 02:55:18","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/getalby.com\/p\/yeghro","header_plugin_uri":"https:\/\/github.com\/Yeghro\/YEGHRO_NostrLogin","header_author_uri":"https:\/\/YEGHRO.site\/","rating":4.5,"author_block_rating":0,"active_installs":10,"downloads":1330,"num_ratings":2,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2":{"tag":"1.2","author":"yeghro","date":"2024-11-04 08:38:48"},"1.3":{"tag":"1.3","author":"yeghro","date":"2024-11-06 06:47:31"},"1.4":{"tag":"1.4","author":"yeghro","date":"2024-12-01 09:01:01"},"1.5":{"tag":"1.5","author":"yeghro","date":"2025-01-15 07:52:46"},"1.5.1":{"tag":"1.5.1","author":"yeghro","date":"2025-01-16 17:57:48"},"1.6":{"tag":"1.6","author":"yeghro","date":"2025-01-16 04:06:53"},"1.7":{"tag":"1.7","author":"yeghro","date":"2025-01-17 21:42:04"},"1.8":{"tag":"1.8","author":"yeghro","date":"2025-01-31 02:55:18"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":1},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3179322,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.3","1.4","1.5","1.5.1","1.6","1.7","1.8"],"block_files":[],"assets_screenshots":{"Screenshot-1.png":{"filename":"Screenshot-1.png","revision":3179304,"resolution":"1","location":"assets","locale":""},"Screenshot-2.png":{"filename":"Screenshot-2.png","revision":3179304,"resolution":"2","location":"assets","locale":""},"Screenshot-3.png":{"filename":"Screenshot-3.png","revision":3179304,"resolution":"3","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[710,1886,155217,602,220135],"plugin_category":[38,45],"plugin_contributors":[234075],"plugin_business_model":[],"class_list":["post-198967","plugin","type-plugin","status-publish","hentry","plugin_tags-authentication","plugin_tags-bitcoin","plugin_tags-decentralized","plugin_tags-login","plugin_tags-nostr","plugin_category-authentication","plugin_category-ecommerce","plugin_contributors-yeghro","plugin_committers-yeghro"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/nostr-login\/assets\/icon-256x256.png?rev=3179322","icon_2x":"https:\/\/ps.w.org\/nostr-login\/assets\/icon-256x256.png?rev=3179322","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/nostr-login\/assets\/Screenshot-1.png?rev=3179304","caption":""},{"src":"https:\/\/ps.w.org\/nostr-login\/assets\/Screenshot-2.png?rev=3179304","caption":""},{"src":"https:\/\/ps.w.org\/nostr-login\/assets\/Screenshot-3.png?rev=3179304","caption":""}],"raw_content":"<!--section=description-->\n<p>YEGHRO Nostr Login enables WordPress users to authenticate using their Nostr keys, providing a seamless bridge between the decentralized Nostr protocol and WordPress websites.<\/p>\n\n<h4>Key Features<\/h4>\n\n<p>Login\n* One-click login with Nostr browser extensions (NIP-07 compatible)\n* Automatic user registration for new Nostr users\n* Profile synchronization from Nostr metadata\n* Configurable Nostr relay settings<\/p>\n\n<p>Import (1.8 and later)\n* Import posts from Nostr to WordPress as posts.\n* Optionally imports comments from Nostr to WordPress as comments. \n* Filter imports using tags and date range.\n* Import into specific categories.\n* Import as draft, publish or private.\n* Imports media from Nostr event and attaches to post.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>nostr-login<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu<\/li>\n<li>Go to Settings &gt; Nostr Login to configure relay settings<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20is%20nostr%3F'><h3>What is Nostr?<\/h3><\/dt>\n<dd><p>Nostr is a decentralized protocol enabling censorship-resistant social networking and authentication.<\/p><\/dd>\n<dt id='is%20it%20safe%20to%20use%20my%20nostr%20keys%3F'><h3>Is it safe to use my Nostr keys?<\/h3><\/dt>\n<dd><p>We recommend using a NIP-07 compatible browser extension like Alby or nos2x for the safest experience.<\/p><\/dd>\n<dt id='where%20is%20the%20importer%20located%3F'><h3>Where is the importer located?<\/h3><\/dt>\n<dd><p>The importer is located in the WordPress admin dashboard sidebar, under Tools &gt; Nostr Importer.<\/p><\/dd>\n<dt id='how%20do%20i%20install%20the%20required%20php-gmp%20extension%3F'><h3>How do I install the required PHP-GMP extension?<\/h3><\/dt>\n<dd><p>The PHP-GMP extension is required for secure cryptographic operations. Here's how to install it:<\/p>\n\n<p>For Ubuntu\/Debian:<\/p>\n\n<ol>\n<li>Run: <code>sudo apt-get update &amp;&amp; sudo apt-get install php-gmp<\/code><\/li>\n<li>Restart PHP\/web server: <code>sudo service php-fpm restart<\/code> (or apache2 if using Apache)<\/li>\n<\/ol>\n\n<p>For CPanel:\n1. Contact your hosting provider to enable the PHP-GMP module\n2. Most managed WordPress hosts can enable this through the hosting control panel<\/p>\n\n<p>For Windows:\n1. Open php.ini file\n2. Uncomment the line: extension=gmp\n3. Restart your web server<\/p>\n\n<p>After installation, verify GMP is enabled by checking your site's PHP info page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.8<\/h4>\n\n<ul>\n<li>Added option to import posts from Nostr to WordPress as posts.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>1.6 modifcation proved to be unstable. Reverted to more stable and secure setup that requires user to \nmanually install PHP-GMP extension to ensure secure authenticated login. Instructions are below in FAQ.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>nip98 modifications.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Added more robust authentication flow using nip98 for better<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added option to redirect users after login (to admin, home or profile page)<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added option for existing Wordpress users to connect\/sync their Nostr accounts from within profile profile page<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Enhanced profile synchronization<\/li>\n<li>Improved relay configuration options<\/li>\n<li>Bug fixes and performance improvements<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Automatic user registration<\/li>\n<li>Basic profile sync features<\/li>\n<\/ul>","raw_excerpt":"Enable secure WordPress authentication using Nostr keys - login with your Nostr identity.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/198967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=198967"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/yeghro"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=198967"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=198967"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=198967"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=198967"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=198967"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=198967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}