Coder Social home page Coder Social logo

produck / cas-client Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 4.0 265 KB

A complete implement of CAS Client middleware for Node.js, support CAS 1.0, 2.0+, 3.0+ protocol.

License: MIT License

JavaScript 100.00%
cas-protocol cas-client koa apereo nodejs cas-proxy

cas-client's People

Contributors

dependabot[bot] avatar docs-kdu3 avatar gmy987 avatar lichaozhy avatar miniland1333 avatar nregina-hbs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cas-client's Issues

sample code does not work with https

I tried using the native Node.js sample code, but our CAS server didn't like that my app was running http instead of https. I tried simply switching to require('https') and using:

const https_options = {
    key: fs.readFileSync('key.pem'),
    cert: fs.readFileSync('cert.pem')
}

    https.createServer(https_options, (req, res) => {

but I get an "unexpected identifier" error regarding "handler" in the if (!await handler) line.

Do you have an suggestion for how to use the native https module to work?

Thanks

URL 报错

image
大兄弟,你自己用得怎么样? 我用你的有这个报错.

Update NPM release with #5

When you have time, please update the NPM release for this package with the dependency updates from #5. Then I will be able to update my own repositories and finally get rid of the dependabot alerts!

Thank you again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.