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
- Middleware
how to make middleware in nextjs appwrite with client side auth?
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...