This is the first video of a series where we will see how to implement Authentication and Authorization in #angular using #JWT (JSON Web Token).
In this video, we will see how to control an application's header visibility for the logged in users.
✨ Code: https://github.com/profanis/codeShots...
✨ Learn more about JWT: https://jwt.io/introduction
The next videos:
✨ Visit the routes only if the users are authenticated ( • Angular Authentication: Using Route G... )
✨ Append the token in the HTTP headers of every API call via an interceptor (coming soon...)
✨ Authorization: Block users without a specific role visit a route (coming soon...)