pull down to refresh
10 sats \ 8 replies \ @TheBTCManual 18 Dec 2022 \ on: LNURL Auth For WordPress bitcoin
I'm not sure if my WP is acting up but is there a setting that I am missing to allow those posting a comment to use this? I tried out the demo and want to set up the same on our site
I'm not sure if I get your question. You want to provide LNURL Auth to existing users?
reply
I managed to get it to work, like your demo, but when you login, you need to refresh the page a second time before you can comment, any idea what the issue could be?
reply
Hey, can you update your plugin and check if it works now? ⚡️
reply
Anyway, you need to set a valid URL in the plugin settings for users visiting wp-login.php directly.
With the updated version, the plugin checks the redirect_to query parameter. The redirect_to query parameter is set, if a user clicks on "login" anywhere on your site. So if someone clicks on "login" from a post, he will be redirected back to the post after authentication.
reply
Cool! Thank you for reaching out. Have you altered the plugin settings? What does your redirect URL look like?
reply
Yes I did, I removed the redirect to the homepage because I wanted the user to remain on the article they wish to coment on
reply
Hm I guess this wont work for now. I will work on this feature. Thank you for the input!
reply
Or you could probably add the plugin shortcode in your footer php on posts with a dynamic redirect attribute for the current url.
reply