James Cridland on Nostr: nprofile1q…h4fk0 Going to be hard on a static website. .htpasswd would allow you to ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqvt6jxxdq4dxagey8zehrg46crl9dyqqg4hm9az3p38vel06hwcqqph4fk0 (nprofile…4fk0) Going to be hard on a static website.
.htpasswd would allow you to send a link with username:password in the URL, so the user need only know that this is their special link. You’d need to be running Apache or similar to achieve this though (ie not a “serverless” solution like S3).
I guess you could write a bit of JavaScript that builds that URL for you from a static login page? Similarly, I guess you could also use JavaScript to echo back the username on the page, and a “log out” function that removes those from the URL.
.htpasswd would allow you to send a link with username:password in the URL, so the user need only know that this is their special link. You’d need to be running Apache or similar to achieve this though (ie not a “serverless” solution like S3).
I guess you could write a bit of JavaScript that builds that URL for you from a static login page? Similarly, I guess you could also use JavaScript to echo back the username on the page, and a “log out” function that removes those from the URL.