2.0.1 • Published 6 years ago

sz-restify-szid v2.0.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
6 years ago

sz-restify-szid

SZID integration into restify based REST-services.

For an example configuration have a look at test/support/mock.server.js or test/unit/checkPrerequisites.test.js.

Integration

Please note that sz-restify-szid is a terminating auth mechanism. So it will respond to requests with 401 status to indicate login failure. That means you cannot chain other mechanisms after sz-restify-szid. BUT you can define them before sz-restify-auth and let them set the property res.locals.isAuthenticated = true. This skips szid authentication.