Skip to content
Back

Hosted Digitalocean Oauth Isuses

  • 0
  • Web
Stormbringer
12 Mar, 2023, 01:27

I getting [500] User (role: guests) missing scope (account)
on localhost get above error accessing with nuxt-appwrite, creates session but I get error with account.get().. tried to push to domain xyz.com. and appwrite in on api.xyz.com getting error.

I really need to know how to get this working what are all the configs I need read somany things.
I just need a webapp to connect to appwrite hosted and local with oAuth.

TL;DR
User is experiencing issues with OAuth authentication on a hosted DigitalOcean server. They have Appwrite deployed on DigitalOcean and a SPA hosted on Netlify. The Netlify domain is configured with a CNAME record pointing to the Appwrite droplet. However, when attempting to redirect back to the Appwrite server, they receive an error message stating that there is no session. Another user suggests that the issue may be related to the session being client-side rather than server-side or not persisting automatically. They also inquire if the user is using any server-side code, particularly Nuxt. The user reiterates their issue, stating that they are
Drake
12 Mar, 2023, 01:35

Nuxt...are you using any sort of server side code?

The error you're seeing means there is no session. If you have server side code, the session may be client side rather than server side or the session was server side but doesn't persist automatically

arpentnoir
17 Mar, 2023, 02:39

I'm having what I think is the same issue. I have appwrite deployed to digital ocean, and SPA hosted on netlify. netlify has cname record pointing to appwrite droplet, so aw is at admin.<thething>.io and the SPA is at demo.<thething>.io. once redirect back to app loads, the get to accounts fails with the message above. I really want to get this working because so far appwrite is awesome, just need to get over this invisible hurdle!

Drake
17 Mar, 2023, 02:56

Might be best to create a new support post

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