4.4.2 Develop frontend authentication: Implementing Cookie-Based Authentication and Role-Based Access Control in Angular: AuthService, Guards, Interceptors, and Navigation

In previous article we updated our backend project to add Role Based Access Control, configured CORS in backend’s main.ts file and enhanced our logout feature. Now, we are ready back to the fronted app to develop frontend authentication. auth-service library Generate auth-service library: npx nx g @nx/angular:library auth \\ –prefix mtfs \\ –importPath=@mtfs/frontend/auth-service \\ –tags … Read more