>> If a user is logged in to the main app, you can use proxy protocol
There is no "user" to login. A background batch process needs to be able to authenticate by itself. From: [email protected] <[email protected]> On Behalf Of Ray Bon Sent: Wednesday, November 23, 2022 10:41 AM To: [email protected] Subject: Re: [cas-user] CAS Client help Michael, If a user is logged in to the main app, you can use proxy protocol, https://apereo.github.io/cas/6.6.x/protocol/CAS-Protocol.html#proxy-web-flow-diagram<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapereo.github.io%2Fcas%2F6.6.x%2Fprotocol%2FCAS-Protocol.html%23proxy-web-flow-diagram&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756390600%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=e9auc6Y6LKTtTxJDDKKDkRQIbVPUdBSzXrhCdtgab6I%3D&reserved=0> Client docs have examples, https://apereo.github.io/cas/6.6.x/integration/CAS-Clients.html<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapereo.github.io%2Fcas%2F6.6.x%2Fintegration%2FCAS-Clients.html&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756390600%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sPqF7dLewaSdgCfEG6807uooLCxbZqRFkJQ1D0d1MeY%3D&reserved=0> (I have used php, java, and pac4j as clients). Both user application and REST API applications would be registered in cas as able to proxy https://apereo.github.io/cas/6.6.x/services/Configuring-Service-Proxy-Policy.html<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapereo.github.io%2Fcas%2F6.6.x%2Fservices%2FConfiguring-Service-Proxy-Policy.html&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756546859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jyH46N8hBmvt%2BxgrGLClS7AlbOd2CfiuGcVS0ki46es%3D&reserved=0> Note: this is different from proxied / delegated authentication. Ray On Tue, 2022-11-22 at 21:48 +0000, Michael Remijan wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. Hello user community, I am looking for some information on a CAS client and I haven't been able to find it anywhere online. All CAS Client references I've find have been for configuring a Web App so that user login integrates with CAS for authentication. Unfortunately, this is not what I need. I have an REST API endpoint I need to integrate with in a headless/background process kind of way. Basic data integration stuff...periodically call the API throughout the day, get the data, process data. So I need an example of this kind of integration...having a background process pass the CAS authentication server what it needs to authenticate the request in a non-interactive, headless manner so my process can integrate with a REST API. Any examples like this exist? Any help would be appreciated. Mike -- - Website: https://apereo.github.io/cas<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapereo.github.io%2Fcas&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756546859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vMj1QgGRX%2B%2BDk5p%2Bn7%2FUQ1W9u5j%2BCnEc%2FpZry4cfsaU%3D&reserved=0> - Gitter Chatroom: https://gitter.im/apereo/cas<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitter.im%2Fapereo%2Fcas&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756546859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NdOgom0Nb6eTZptAuIV3PpP9SLbqbDuudetHtgjJhqk%3D&reserved=0> - List Guidelines: https://goo.gl/1VRrw7<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2F1VRrw7&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756546859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7S8Wt20KqJrZt%2FrkEBGSbeMKBWYOO7z9GSJtuzxc3vk%3D&reserved=0> - Contributions: https://goo.gl/mh7qDG<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2Fmh7qDG&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756546859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cRvpg%2F%2B6%2BJvNoYv6HYZgZQjPOi97yq4L7rzcCUsbVtg%3D&reserved=0> --- 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/c17ee8d4b55125b31307132c437777a7a772caa0.camel%40uvic.ca<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fa%2Fapereo.org%2Fd%2Fmsgid%2Fcas-user%2Fc17ee8d4b55125b31307132c437777a7a772caa0.camel%2540uvic.ca%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7C%7C7e3393b18cd240f240fe08dacd718884%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638048184756546859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lcx97Otgks9Ry4sYCWdiY3GC4ggF22fneqonk9A23K4%3D&reserved=0>. -- - 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/DM6PR06MB4890050AC1F131FD1FEDADDFD20C9%40DM6PR06MB4890.namprd06.prod.outlook.com.
