Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shibboleth with Node.js Rest API and Angular 2 Application

a university wants an application with Shibboleth authentication. They provide their own IDP. I want to make a Node.Js backend and Angular frontend. They both should communicate with REST. Is it still possible to integrate Shibboleth Service Provider to Node.Js backend and authenticate over Angular frontend?

like image 554
Robert Avatar asked Mar 09 '23 07:03

Robert


1 Answers

Yes it is possible. NodeJS has passport, which is an authentication provider that can be easily extended for various cases, including Shibboleth.

A plugin of passport, named passport-saml offer the integration of Shibboleth.

Passport : http://passportjs.org/

Passport-saml: https://www.npmjs.com/package/passport-saml

like image 127
Hipny Avatar answered Mar 10 '23 19:03

Hipny