[cas-user] CAS SSO Login

2020-06-29 Thread Yohannan Varghese
HI All,

We have a Laravel 5.7 application with back end mysql. We have so many 
clients in our website with their users and able to register /login to our 
website with a username/password.

Now one of our clients wants their users to SSO login with CAS 2.0.

They are asking to create a CAS unique URL and validate that etc. I am new 
to this. Kindly help to integrate this. This client has a login page here 
user has to enter their login credentials and then I need to validate that 
user to login to my website.

Kindly help to resolve this task.

Thanks in advance.

Regards

-- 
- 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/b7594f0c-ac6d-4a0b-b417-f533bbe4a2cbo%40apereo.org.


[cas-user] CAS5.3.x CORS support not working?

2020-06-29 Thread Yan Zhou
Hi,

I want to have an Angular App authenticate against CAS5.3.x.  I set the 
following properties in cas.properties.

When launching app from my localhost:4200,  i see this error, when my 
Angular App tries to redirect browser to CAS5 login page,

Access to XMLHttpRequest at '
https:///cas5/oidc/.well-known/openid-configuration' 
 
from 
origin 'http://localhost:4200' has been blocked by CORS policy: No 
'Access-Control-Allow-Origin' header is present on the requested resource.


Am I missing something?  I ended up removing these from cas.properties and 
configure CORS in tomcat8  (my CAS5 runs in Tomcat), that works.  


Yan



cas.httpWebRequest.cors.enabled=true
cas.httpWebRequest.cors.allowCredentials=true
cas.httpWebRequest.cors.allowOrigins[0]=http://localhost:4200
cas.httpWebRequest.cors.allowMethods[0]=GET,POST,HEAD,OPTIONS,PUT
cas.httpWebRequest.cors.allowHeaders[0]=Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization
cas.httpWebRequest.cors.maxAge=3600
cas.httpWebRequest.cors.exposedHeaders[0]=Access-Control-Allow-Origin,Access-Control-Allow-Credentials

-- 
- 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/d6de43bf-be82-466f-9bbe-e373b3141f38o%40apereo.org.


[cas-user] How to Monitor Active SSO Sessions & Statistics

2020-06-29 Thread dg
Hello, i am using 6.2.0 cas version.

i want to expose current active sso session number and staticstics by 
actuator api. i have searched cas blog and page (
https://apereo.github.io/cas/development/monitoring/Monitoring-Statistics.html
, https://apereo.github.io/2018/11/06/cas6-admin-endpoints-security/), but 
i couldnt find a way to do that.
i just need like these apis; /actuator/ssoSessions, /actuator/statistics

i have added this dependecy to build.gradle

compile "org.apereo.cas:cas-server-support-metrics:${casServerVersion}"

then, i have added these properties to cas.properties


management.endpoints.web.exposure.include=*
management.endpoints.enabled-by-default=true
management.endpoint.ssoSessions.enabled=true
management.endpoint.statistics.enabled=true
management.endpoints.defaults.sensitive=false
cas.monitor.endpoints.endpoint.defaults.access=ANONYMOUS

where am i missing? thanks for helps.

-- 
- 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/3ffc423f-ff83-4410-ad0e-00d0b6a2065do%40apereo.org.