Jeezman / ln-auth-nextjs

LNURL auth and NextJS app
MIT License
5 stars 4 forks source link

how to deploy to prod #1

Open Jared-Dahlke opened 1 year ago

Jared-Dahlke commented 1 year ago

hey man thanks for the info! Have you been able to deploy this to prod? Can you elaborate a bit on how you do so? I've been trying a while and it works locally but when i deploy to prod it no longer works (just gets stuck on qrcode screen). I suspect it has something to do with the fact that the server is a different domain than the frontend? Any tips/advice? I also made a client side CRA app that doesn't work in prod either.

Jared-Dahlke commented 1 year ago

nevermind, I was able to figure out how to do auth with lightning in Next. I made a template for it here https://github.com/Jared-Dahlke/Nextjs-lightning-auth-template