@ilefa/passport-uconn
v1.0.0
Published
Passport Strategy for UConn CAS Authentication
Downloads
2
Readme
passport-uconn
This is a custom Passport.js authentication strategy for integrating with UConn's SSO implementation.
Installation
Use npm to install passport-uconn.
npm install @ilefa/passport-uconn
Usage
import passport from 'passport';
import { Strategy } from '@ilefa/passport-uconn';
passport.use(new Strategy({
serverBaseURL: 'https://endpoints.its.uconn.edu',
serviceURL: 'https://endpoints.its.uconn.edu/login',
passReqToCallback: false
}));
passport.authenticate('cas', ...);
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.