-
Notifications
You must be signed in to change notification settings - Fork 189
Login Issue #40
Comments
I think you would have to set a cookie with the login data so CASino can detect whether the client is logged in. @pencil, do you know which cookie and which format is needed? |
@luxflux , Thanks for you anwser. I have compared with two different conditions, i see when visit cas.xxx.com/login ,and do login, I see tgt in cookies. But by visiting RestClient.post("cas.xxx.com/login", {:username => "xxx", :password => "xxx", :lt => "xxx"}) from my client side, after successful doing that , I didnt' see tgt in cookies. Maybe thats why it didn't work |
You would have to set a cookie with the |
Thanks @pencil : ) |
This seems to be resolved. Closing... |
I suggested a new way to auto login user in #46 |
@pencil What do you mean with: set the |
@luxflux
I try to do login by using RestClient.post("cas.xxx.com/login", {:username => "xxx", :password => "xxx", :lt => "xxx"}) from my client side, but after doing that, although my client side web has logged in, but when I visit cas.xxx.com, I found my user doesn't log in. Coule you help me to find out why it doesn't successd
The text was updated successfully, but these errors were encountered: