Saving Bearer token in storage
The bearer token taken from eu login to be saved in the storage of the webroweser. The user uses this token to authenticate api calls and also accessing the ui.
Work in progress
-
Searching for best practices of saving the token -
Saving and removing a cookie in the storage -
Authenticating with the help of eu login -
Considering roles for each user -
Sending api requests with the help of the saved token
Reference
https://www.syncfusion.com/blogs/post/best-practices-for-jwt-authentication-in-angular-apps.aspx
Edited by Danial Hezarkhani