Thank you for this tutorial!
You set users auth to anonymous but on the frontend you ask for discord account.
Could you please change it to anonymous?
I'd like to remove not necessary moving blocks :)
Happy to hear you enjoyed the read! 🥰
To remove Discord from the setup (and use anonymous login), all you need to do is to visit services/appwrite.ts and change function login() to:
Article has been updated to include correct code example, and GitHub repository now shows "Login as Anonymous" button instead💖 Thanks for letting me know.
Perfect Matej, it's working!
Any chance to adapt this to svelte?
With products coming from Appwrite collection?
Because actually, a hacker can simply inject the product price since it's not sent through the backend to Stripe checkout.
EDIT: I got Stripe CLI correctly sending webhook but webhook-proxy doesn't record it. I'll write an issue into it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for this tutorial!
You set users auth to anonymous but on the frontend you ask for discord account.
Could you please change it to anonymous?
I'd like to remove not necessary moving blocks :)
Happy to hear you enjoyed the read! 🥰
To remove Discord from the setup (and use anonymous login), all you need to do is to visit
services/appwrite.ts
and change functionlogin()
to:Article has been updated to include correct code example, and GitHub repository now shows "Login as Anonymous" button instead💖 Thanks for letting me know.
Perfect Matej, it's working!
Any chance to adapt this to svelte?
With products coming from Appwrite collection?
Because actually, a hacker can simply inject the product price since it's not sent through the backend to Stripe checkout.
EDIT: I got Stripe CLI correctly sending webhook but webhook-proxy doesn't record it. I'll write an issue into it.