@zainabed/soteria is Single page application security, It reduces amount of HTTP server calls by providing client side authorization. It provides APIs to validate user permissions against the secure area of application without consulting with server APIs.
These validation can be performed on application routing or on REST API calls.
It is an implementation of @zainabed/security
specification APIs.
Top comments (2)
How does it do this? How can you authenticate without HTTP requests to a backend?
Thanks for this question. Authentication always happen at server side, this library allow us to capture athenticated user response and it's roles or permissions from Http request then its interface authorize user to access secure area of application without consulting Server via Http request.