Do you have the CAS tgc encryption and signing keys defined for your ticket 
registry?  If you do not define them, CAS will automatically generate a new set 
on startup.  This behavior will render previous TGCs in your jpa registry as 
useless.

cas.tgc.crypto.encryption.key=
cas.tgc.crypto.signing.key=

https://apereo.github.io/cas/6.3.x/configuration/Configuration-Properties.html#signing--encryption-4
https://apereo.github.io/cas/6.3.x/configuration/Configuration-Properties-Common.html#signing--encryption

From: [email protected] <[email protected]> On Behalf Of Sayan Saha
Sent: Sunday, April 25, 2021 1:21 AM
To: CAS Community <[email protected]>
Subject: [EXTERNAL SENDER] [cas-user] TGC invalid after cas server restart


Is it possible to login into the cas server after restarting it?

I am using jpa ticket registry for the TGTs and also have extended the lifetime 
of the TGC cookie.
But, after restarting cas still redirects me to the login page even though I 
can see that the TGC cookie is present in the network tab.

Please
--
- 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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d9f19fbe-0bd3-48f5-b039-5257681036b8n%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/d9f19fbe-0bd3-48f5-b039-5257681036b8n%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- 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/b358f8a110da46d48a8ca487933777ca%40mun.ca.

Reply via email to