Hello , 
 I  have  found out   this  link : 
https://stackoverflow.com/questions/28267660/logging-on-to-cas-server-through-curl
 
and  i have done mofidication .Nowaday   i m able auth user  and  withdrow  
user's metadata for services .  Link concerns   to  cas 3 and 4 but is 
posibble adapt  it for 6 too.  It is  nesesery understand  that  form ID  
"lt"  was changed to execution .  API look like much easier  without  
digging  to much like Ray  said.
Regards.

On Tuesday, June 14, 2022 at 10:16:06 PM UTC+2 Ray Bon wrote:

> artur,
>
> Would this be what you are after (REST authentication protocol) 
> https://apereo.github.io/cas/6.4.x/protocol/REST-Protocol.html
>
> Ray
>
> On Tue, 2022-06-14 at 08:23 -0700, artur mis wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
>
> How can  i use curl to get ST and metadata 
>
> It doesn't work:
> curl -s -k --data "username=somebody&password=passs&_eventId=submit" -i  
> https://cas.cas.whatever/cas/login?service=https%3A%2F%2Fservice.registered.whatever%2F
> <something>
>
> - IF JSESSIONID is needed  to use  how to recive this cookie via curl  and 
> use it.
> - Host with curl is permited to ask cas about validation ST.
> After that i would like validate ticket and take  metadata from cas. 
>
> Regards
>
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/efc51e7d-e089-4381-8e1a-c55f3bd81a3fn%40apereo.org.

Reply via email to