Thanks for the prompt response. 

 

I am using the REST API. But, using that doesn't create a CAS cookie
since login doesn't happen via the browser. I need the CAS cookie for
SSO with other services.

 

Using a form post would create a cookie, but I am having issues getting
that to work.

 

From: Misagh Moayyed [mailto:[email protected]] 
Sent: Tuesday, November 20, 2012 1:25 PM
To: [email protected]
Subject: RE: [cas-user] How to simulate a submit in the CAS login page

 

You should possibly use the CAS REST API for programmatic CAS access:

https://wiki.jasig.org/display/CASUM/RESTful+API 

 

-Misagh

 

From: Rex Posadas [mailto:[email protected]] 
Sent: Tuesday, November 20, 2012 2:19 PM
To: [email protected]
Subject: [cas-user] How to simulate a submit in the CAS login page

 

Hello All, 

 

I have an in-line login form in my website (Drupal).  When a user enters
his email and password I want to submit that form to the CAS login page.
If the user enters the correct u/p  they should be logged in and taken
back to the home page. 

 

But, when I do a form post to the CAS login page with the query
parameter "&_evenId=submit"  I am simply taken to the CAS login page. It
looks like it ignored my POST body. I was expecting the form post to log
me in and redirect me back to my site's home page (Given that the
credentials are correct). 

 

I've verified that the service name in the URL is correct during the
post.  I've also verified that the username and password are correct.

 

Is it possible to do what I'm trying to?  Is so, how? If not, why not?

 

 

Thanks. 

-- 
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user
-- 
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to