I'm a newbie in Ruby
I try using the issue 40 approach
and this is the code
##get tickets from cas server
ticket = RestClient("localhost:4000/api/users/tickets")
##auto sign in
RestClient.post("localhost:4000/login", {:username => "xxx", :password => "123123123", :lt => ticket, :rememberMe => "1"})
what should i store in cookies[:tgt]? (a login ticket ticket ? ex: CASino::LoginTicket.create.ticket)
or any approach to use api to get authorize from cas server?
I'm a newbie in Ruby I try using the issue 40 approach and this is the code
what should i store in cookies[:tgt]? (a login ticket ticket ? ex: CASino::LoginTicket.create.ticket) or any approach to use api to get authorize from cas server?
Thanks!