MEAN stack authentication and authorization template with roles using JSON web tokens.
Use this template for apps that require authentication and roles.
- Change the values in
keys.json
to match your infrastructure - Add keys.json to the
.gitignore
file - Change the brand text on the navbar
- Login page
- Signup page
- Profile page (accessible to authenticated users only)
- change password functionality
- Admin page (accessible to admins only)
- simple user manager
- Email verification
Login routeRegister routeChange password routeisAuthenticated middlewareisAdmin middlewareLogin pageRegister pageProfile page (accessible to authenticated users only)Admin page (accessible to admins only)Simple user managerngx-toastr alertsChange password wizardAdd NPM packageexpress-validator
to validate API request parametersEmail verification- Request new code for email verification
- Forgot password wizard
- Error handler HTTP interceptor