The operator generates CAS registered services with a serviceId pattern that expects the service path directly after the host.
Example:
"serviceId": "^https://dev1[.]k3ces[.]localdomain/scm(/.*)?$"
However, CAS may receive service URLs with an explicit port:
https://dev1.k3ces.localdomain:443/scm/api/v2/cas/auth/...
This does not match the generated pattern, causing CAS to reject the login with:
Service is not registered in the service registry
registered service is [Optional.empty]
HTTP 403
The operator generates CAS registered services with a serviceId pattern that expects the service path directly after the host.
Example:
However, CAS may receive service URLs with an explicit port:
https://dev1.k3ces.localdomain:443/scm/api/v2/cas/auth/...
This does not match the generated pattern, causing CAS to reject the login with: