My gAuth code snippet is attached.
but most of the time users get 401 error. In documents appwrite says add domain, okay I went into settings -» custom domains -» new domain (which will be my first domain in this section)
Aynway, my question is do we need to be on the ‘Pro’ plan to offer Google authentication in our own app? I can't even add my first domain. The only other domain I have added is the one I added for the Appwrite site (example.com), and Appwrite itself uses another domain ({projcet-name}-{organization-name}.appwrite.network) for the Appwrite sites.
TL;DR
Title: Appwrite Session Cookies Issue with gAuth
Developers having trouble with 401 error even after adding a new domain for custom domains. Wonder if 'Pro' plan is needed for Google authentication in the appwrite app. Would like to add more domains.
Solution:
They need to be on the 'Business' plan as Google auth is available on that plan.