auth0/node-samlp

How do I use this?

davidwmartines opened this issue · 1 comments

From the README:

The idea is that you will use another mechanism to validate the user first.

Can you explain the basic workflow flow to include authentication (validate the user)?

I see if req.user is null, then the middleware simply returns a 401. Am I expected to catch this 401, display a login screen or otherwise authenticate the user, then redirect back to the sampl handler with SAMLRequest in the URL again?

Sorry for not getting it...

and Thanks!

So I was able to put something together that works, by chaining together the middleware and express handlers.