Back

Error in initializing auth2 login using Web SDK

  • 0
  • Accounts
  • Web
vishant_batta
16 Jan, 2024, 06:39

Getting: "Cannot set property href of [object WorkerLocation] which has only a getter."

Using this: https://appwrite.io/docs/products/auth/oauth2#init

TL;DR
Summary: Developer is encountering an error while trying to initialize auth2 login using the Web SDK. The error message states "Cannot set property href of [object WorkerLocation] which has only a getter." The developer provides a link to the documentation they are following: https://appwrite.io/docs/products/auth/oauth2#init. Solution: It seems the error is related to trying to set a property that is only a getter. The developer should review the documentation they provided and ensure they are following the steps correctly. It might be helpful to double-check if any required parameters are missing or if there are any restrictions or specific configurations mentioned in the documentation
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more