Plugin Support
qtwrk
(@qtwrk)
unfortunately this is not possible
even somehow you triggered this step, the DNS change still require manual intervention to update
Thread Starter
remiCs
(@emersong20)
Not necessarily. I can use the DirectAdmin API to change my clients’ DNS and puppeteer to find out which DNS I need to use on the quic cdn website.
I own a website hosting company. Is there no way I can activate the Quic CDN for my bulk customers?
You say that there is no way to generate LSCWP_NONCE programmatically, but do you say this as a plugin developer or someone who has not found any official documentation about this? I am a developer and I tried to analyze the plugin’s source code but I did not identify how this WP_NONCE is generated.
Plugin Support
qtwrk
(@qtwrk)
it’s not only about the nonce , there is some action like request domain key (this part can be done by WP CLI though) , but link to an account still requires manual proceed
with my limited knowledge , I don’t think it’s possible by plugin API or something
alternatively , if you know a thing or two about puppeteer, maybe you can try set up an automated process with it , from request domain key , link to an account , enable CDN, then finally use DA API
I don’t know about the puppeteer, but I played Playwright before, so I think it is doable by this method.
Thread Starter
remiCs
(@emersong20)
- Generate domain key (I can use wp cli)
- Generate URL for link account using LSCWP_NONCE (maybe can you help me ?)
- Link account and get the CNAME DNS (using puppeteer)
- Change the domain DNS using DirectAdmin API
Even if for some error I can’t automate everything, I can automate the most of steps.
How is it possible to contact the plugin developers to know more about how this URL is generated ?
https://example.com/wp-admin/admin.php?page=litespeed-general&LSCWP_CTRL=cloud&LSCWP_NONCE=02f9bb5196&litespeed_type=link
I only need to know how to generate the LSCWP_NONCE, please.
Plugin Support
qtwrk
(@qtwrk)