[cas-user] CAS support oauth, how store the authCode -CAS 7.0.0-SNAPSHOT

2023-07-13 Thread 'Char Lin' via CAS Community
hi, everyone. I open the supported oauth of CAS 7.0.0-SNAPSHOT, and it operation perfect. Now i want store the authCode generate by cas-oauth in redis, but i don't how? I couldn't find the desired guidance in the official documents either. Please, thanks -- - Website: https://apereo.github.

Re: [cas-user] CAS session management - Ticket Expiration Policies - CAS 6.5

2023-07-13 Thread Ray Bon
Niral, It is possible that you can access the user session. If so, you can check the state of the TGT. See this post for some code to print out cas data https://groups.google.com/a/apereo.org/g/cas-user/c/XkePPqT3lK8/m/y4MfckOCAwAJ Ray On Thu, 2023-07-13 at 14:08 +, 'Niral Kunadia' via CAS

Re: [cas-user] Failing to server parallel flows in SAML2

2023-07-13 Thread Miguel Martínez De Espronceda Cámara
Bear all, I implemented two approaches: 1. Passing the SAML artifacts in the URL 2. Creating a new TST for each SAML request and passing it as parameter (do not store artifacts in the session). Although both of them work in our setup, I do not like them completely. Misagh commented ab

RE: [cas-user] CAS session management - Ticket Expiration Policies - CAS 6.5

2023-07-13 Thread 'Niral Kunadia' via CAS Community
Ray, We are using one tomcat only. I found we added code in “cas-overlay-template\src\main\java\org\apereo\cas\authentication\handler\support\AbstractUsernamePasswordAuthenticationHandler.java ” Which is calling CAS Rest API for two factor authentication. Code is look like this in our 6.5.8: p