We are trying to integrate apereo CAS with other authentication platform, this other platform uses SAML2 as protocol and has it own way to authenticate (can't integrate apereo CAS with this other platform using SAML2 auth).
We cannot find a way to do this, the idea that we are trying is to redirect users to this other platform website entrypoint through CAS and recolect the response through a CAS endpoint.
It is possible to create a custom endpoint in Apereo CAS?, it seems that it can't be published.
The final flow diagram is the following:
- User log to app A and get redirected to CAS
- User choose "log with other platform" and get redirected to the external platform
- User perform login in this platform and the callback response redirect to CAS
- CAS validate auth response and redirect to app
We are trying to create a CAS custom endpoint that the external platform will redirect after auth is performed.