i have a problem with my appwrite login auth guard service.
the can activate in angular breaks now
What is your issue?
i would secure this routes with my appwrite account service. { path: 'home', component: TeamsComponent, canActivate: [isLoggedIn] },
but i dont find any good solutions
but the main question is how i secure my rorutes with appwrite
You mean not allowing accessing a specific route, for example, if the user is not authenticated or not authorised?
yes π
i use this tutorial. but there is no example how i can handle the guards. https://appwrite.io/docs/quick-starts/angular
Recommended threads
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...