Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is possible to make a login with user and pass, via code? #6

Open
augcampos opened this issue Feb 1, 2016 · 2 comments
Open

Is possible to make a login with user and pass, via code? #6

augcampos opened this issue Feb 1, 2016 · 2 comments
Assignees

Comments

@augcampos
Copy link

Is possible to make a login with user and pass, via code?

I need a example that allow to make login with a ticket or page that I own in a nodejs.

@matthewvalimaki
Copy link

@augcampos I believe your question is not relative to this project but to CAS itself. In any case see https://jasig.github.io/cas/4.2.x/protocol/REST-Protocol.html.

  1. Enable REST support (the link I gave).
  2. Create your page with form asking username & password.
  3. Use the REST API to authenticate.
  4. In Node handle login.

@kayleecodes1
Copy link
Owner

I'm going to look into adding the REST protocol to this library once I fix the other problems with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants