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 cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/4b1ec327bde430df55e4c641c6b1435269c0eb50.camel%40uvic.ca.