TL;DR —
The Backend will be running on Node.JS. The security that will underlay the interfacing will be JSON Web Tokens. An interceptor is a service that will break any requests sent from Angular, clone it and add a token to it before it is finally sent. In the interceptor of the Angular App, all requests will be checked for a 401 status and upon receiving such a request, the token stored at Angular will be removed and the user will be logged out of all sessions, sending him to the login screen.
[story continues]
Written by
@th3n00bc0d3r
Founder BreatheIO, PGP AI/ML from UTA, 10+ Year Full Stack HW & SW Engineer, Author 2 x Books, 3 x Advisor Startup
Topics and
tags
tags
angular-8|javascript|authentication|json-web-token|json|nodejs|oauth|coding|web-monetization
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: evKl38fFmggA_X9Xwan1pYUC4GLhQJeqzq1qQeP5VbA
