Suhas,

If it works with https, why do you want to enable the insecure htttp?

Turn your logs up to debug and see why CAS is not processing app2 SSO.

Ray

On Mon, 2020-05-18 at 10:17 +0530, 'Suhas Bansude' via CAS Community wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hello Sir,

Not able to solve problem. Verified all settings
Please check attached cas properties file I am using.

For client in am using spring boot and cas client(Spring boot settings).
Please check below settings  client settings

App-1
cas.server-url-prefix=http://localhost:8082/cas
cas.server-login-url=http://localhost:8082/cas/login
cas.client-host-url=http://localhost:8080
cas.validation-type=CAS3
cas.redirect-after-validation =true
cas.use-session=false
cas.authentication-url-patterns=/common/home


App2-
cas.server-url-prefix=http://localhost:8082/cas
cas.server-login-url=http://localhost:8082/cas/login
cas.client-host-url=http://localhost:8081
cas.validation-type=CAS3
cas.redirect-after-validation =true
cas.use-session=false
cas.authentication-url-patterns=/common/home


From: cas-user@apereo.org<mailto:cas-user@apereo.org> 
[mailto:cas-user@apereo.org<mailto:cas-user@apereo.org>] On Behalf Of Root
Sent: 16 May 2020 11:23 AM
To: CAS Community
Subject: Re: FW: [cas-user] Cas server not working with http


Suhas,

Does your App1 and App2 have identical settings?, check in App2 settings  
whether any HTTPS is enforced!, also check the App2 log if any and you can also 
monitor the cas log while authenticating in App2, see what error you get.



On Wednesday, May 13, 2020 at 11:15:48 AM UTC+5:30, Suhas Bansude wrote:
Hi..

Please help me with this issue

I have 2  sites /App1 and /App2. CAS was working without SSL in that it would 
take App1 to the login site and authenticate correctly. The issue was if you 
tried to access via another site(App2), it would ask you to sign in again.
Once I enabled SSL and tried it, it was working correctly. Once logged into 
client App1, it would automatically authenticate you in client App2.

Thanks
Suhas Bansude

From: Suhas Bansude [mailto:suh...@mkcl.org<javascript:>]
Sent: 12 May 2020 11:04 AM
To: 'cas-...@apereo.org<javascript:>'
Subject: RE: [cas-user] Cas server not working with http

Yes already set this property
successfully disabled https with property (server.ssl.enabled=false)

My issue is

I have 2  sites /App1 and /App2. CAS was working without SSL in that it would 
take App1 to the login site and authenticate correctly. The issue was if you 
tried to access via another site(App2), it would ask you to sign in again.
Once I enabled SSL and tried it, it was working correctly. Once logged into 
client App1, it would automatically authenticate you in client App2.

From: cas-...@apereo.org<javascript:> [mailto:cas-...@apereo.org<javascript:>] 
On Behalf Of Nguyen Tran Thanh Lam
Sent: 12 May 2020 10:25 AM
To: cas-...@apereo.org<javascript:>
Subject: Re: [cas-user] Cas server not working with http

Hi,
Have you set this property to false?
[image.png]
BRs

Vào Th 3, 12 thg 5, 2020 vào lúc 11:37 'Suhas Bansude' via CAS Community 
<cas-...@apereo.org<javascript:>> đã viết:
Hello Sir,

I have 2 cas clients(Spring Boot) which are working on App1(localhost:8080) and 
App1(localhost:8081) both are running on http port. My cas server is configured 
on localhost:8082 also running on http port.

My issue is when I authenticate App1 I am not able to access App2 without 
authentication. This issue is for only http.

For https cas server working fine.

Thanks
Suhas Bansude
--
- 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 cas-...@apereo.org<javascript:>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/4b1214ab1d9810002989f3184fa5ff6d%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/4b1214ab1d9810002989f3184fa5ff6d%40mail.gmail.com?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 cas-...@apereo.org<javascript:>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEjUsAjNustFBRPwjQ04pWiy_d80DN7eNf2O_E%2Bmos6ozq6GeA%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEjUsAjNustFBRPwjQ04pWiy_d80DN7eNf2O_E%2Bmos6ozq6GeA%40mail.gmail.com?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 cas-user+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/b6dfc164-236a-4433-aea5-36f28347f3d1%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/b6dfc164-236a-4433-aea5-36f28347f3d1%40apereo.org?utm_medium=email&utm_source=footer>.

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/97d288b6c5c4730b621180c83cf6f19a514a7506.camel%40uvic.ca.

Reply via email to