You're probably better off just writing your own code to integrate
everything than trying to find some pre-made module and bending it to your
will.  Depending on how you want to get credentials (html form, http auth,
etc) at some point, you'll have the username as a javascript variable.
 Then do your custom logic on the username and make async calls out to the
correct service.  Depending on how your app is structured, this can be
written as a custom connect middleware (using the session lib) or some
other way.

On Mon, Mar 19, 2012 at 2:01 AM, wrabbit <[email protected]> wrote:

> hi all..
>
> I have an app which connects to multiple enterprises, each of which has
> their own authentication and authorization infrastructure. I would like to
> get a username/password in the browser, determine the enterprise they
> belong to, and submit their credentials to that enterprise. The enterprise
> would then send back the app-specific permissions for the user on
> successful authentication. Shibboleth seems to offer this (most of the
> others seem to offer only authentication), but I haven't found any node
> modules for it. Is there a good way to add this functionality to a node.js
> app?
>
> thanks!
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to