A CAS module for Passport with the options of having a service parameter and gateway functionality.
Here is an example of the passport-cas-kth CAS module in a NodeJs/Express application to get a hint on how to use it: https://github.com/hoyce/express-with-cas-auth