How to implement discovery service with node js application?

Peter Schober peter.schober at univie.ac.at
Wed May 16 04:39:24 EDT 2018


* dalipcse91 <dalipcse91 at gmail.com> [2018-05-16 08:52]:
> *Now problem is with angular app (Hosted by node.js server)

So I guess what the above probably means is that -- even though you
have MS-IIS running as web server -- you're serving up static files
(JS, CSS, HTML) using node.js as a *second* web server -- for a purely
frontend-code app?
If that's the case then (1) you should stop using node.jas as a web
server outside of the development cycle, and (2) node.js does not
factor into any of that at all.

For an example how we used Angular with a Shib-protected RESTful API
check out the thread "Return 401 on expired/missing session" in the
archives.

The parts of your question that relate to IDP Discovery I've covered
already, I think.

-peter


More information about the users mailing list