French NoodlesOriginal post
React Native Developer
Hello, I have setup appwrite behind nginx proxy manager, with the help of this link I found in the forum:
https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243#1d36
But I keep facing the same issue, when going directly to the port (in this case 8080) it works fine, but if I use the domain I setup with NPM it opens, asks me to sign up, but when finishing it simply gives me an error 500 as long as the login session is active. With the error in console being:
Plain text
[Error] URL: /v1/account
[Error] Type: Appwrite\Extend\Exception
[Error] Message: User (role: guests) missing scope (account)
[Error] File: /usr/src/code/app/controllers/shared/api.php
[Error] Line: 375Just to clarify everything was followed exactly as the tutorial and the npm IP used is the internal IP of the npm container
Summary
Developers set up Appwrite behind Nginx Proxy Manager following a tutorial, but encounter a 500 error when trying to log in using the domain instead of the direct port. The error message indicates a missing scope for the user. Be sure to verify and correctly set up the scopes for users in Appwrite to resolve this issue.