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
- Google OAuth2 is not working
the Google OAuth2 is working perfectly in localhost, but when I bring it to production that means real domain, then when I clicked button signin nothing happene...
- Trouble Creating Database and Collection...
Iβve set up my project credentials (endpoint, project ID) and generated an API key. Iβm currently focusing on creating only the database and collections (tables...
- DOWN GRADING FROM PRO
I previously subscribed to pro on one of my projects for trial but unfortunately ive been billed for this month, my aim was to try pro for one month, is there ...