I am having trouble following this. It seems to be totally opposite of why I would want to use CAS.
To me, the point of CAS is that I want it to be *the* central login page. I don't want to hide it behind my own login page.
The TGT cookie is in the user's browser, but it is supposed to be located in the domain of the *CAS* server. When any service protected by CAS needs to authenticate, it redirects the user's browser to the CAS server, and that cookie is available *to the CAS service only*. It is not meant to be shuffled around to other services, even if they are ones I maintain or control.
Does that make sense? Can you explain why you are trying to use ajax to log into CAS?
Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College
>> *From:* Yan Zhou [mailto:
yana...@gmail.com]
>> *Sent:* Tuesday, April 12, 2016 7:02 AM
>> *To:* Misagh Moayyed <
mmoa...@unicon.net>
>> *Cc:* CAS Community <
cas-...@apereo.org>
>> *Subject:* Re: [cas-user] where is TGT stored on client side?
>>
>>
>>
>> OK, can you elaborate a bit? I am curious how this is done.
>>
>>
>>
>> I see SET-COOKIE on TGC xxxx when authentication is complete, but I do
>> not see browser sends the TGT cookie along with subsequent request.
>>
>>
>>
>> So, I wonder how this works.
>>
>>
>>
>> Thx,
>>
>> Yan
>>
>>
>>
>> On Tue, Apr 12, 2016 at 9:55 AM, Misagh Moayyed <
mmoa...@unicon.net>
>> wrote:
>>
>> You cannot see it.
>>
>>
>>
>> *From:*
cas-...@apereo.org [mailto:
cas-...@apereo.org] *On Behalf Of *Yan
>> Zhou
>> *Sent:* Tuesday, April 12, 2016 6:46 AM
>> *To:* CAS Community <
cas-...@apereo.org>
>> *Subject:* [cas-user] where is TGT stored on client side?
>>
>>
>>
>> Hi there,
>>
>>
>>
>> The CAS protocol says that TGT is stored as a cookie on client browser.
>> But, when I look at cookie on browser (Chrome), I do not see TGT, the only
>> one there is CASSESSIONID, which is how CAS tracks user place in the login
>> flow.
>>
>>
>>
>> Where is TGT stored on client? How can I see it?
>>
>>
>>
>> Everything works fine on server side, I do see TGT, etc., I just cannot
>> find where it is stored on client.
>>
>>
>>
>> Thanks,
>>
>> Yan
>>
>> --
>> 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+u...@apereo.org.
>> Visit this group at
>>
https://groups.google.com/a/apereo.org/group/cas-user/.
>> To view this discussion on the web visit
>>
https://groups.google.com/a/apereo.org/d/msgid/cas-user/15308aa1-497b-4c19-82da-a7d88b6a4b32%40apereo.org
>> <
https://groups.google.com/a/apereo.org/d/msgid/cas-user/15308aa1-497b-4c19-82da-a7d88b6a4b32%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>> <
https://groups.google.com/a/apereo.org/d/msgid/cas-user/00dd01d194c3%24060ddb40%24122991c0%24%40unicon.net?utm_medium=email&utm_source=footer>
>> .
To post to this group, send email to
cas-...@apereo.org.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/40e19df3-d4c7-40b5-90a7-c34994e0f6e4%40apereo.org.