Thank you so much Ray.

Now i am finally able to get TGT, ST and do service validation but 
eventually it fails with 

2025-02-06T18:53:04.126+05:30  WARN 62372 --- [cas] [mcat-handler-15] 
cyAwareServiceTicketValidationAuthorizer : No successful authentication 
handlers are recorded for the authentication attempt
2025-02-06T18:53:04.153+05:30  INFO 62372 --- [cas] [mcat-handler-15] 
PROTOCOL_MESSAGE                         :
============================================================
CAS Validation Response
============================================================
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
    <cas:authenticationFailure code="INVALID_SERVICE">Ticket 
&#39;ST-1-dacL40LxkOWWh7th3nGPtCbRgLM-root310&#39; does not match supplied 
service. The original service was &#39;https://localhost:8444/home&#39; and 
the supplied service was &#39;https://localhost:8444/home&#39
;.</cas:authenticationFailure>
</cas:serviceResponse>

Would you have pointers into what might be happening here?

On Friday, January 31, 2025 at 10:48:29 PM UTC-5 Ray Bon wrote:

> Ankit,
>
> See https://fawnoos.com/2025/01/27/cas72x-authn-handlers/ for an example.
>
> Ray
>
> On Thu, 2025-01-30 at 19:59 -0800, 'Ankit Kumar' via CAS Community wrote:
>
> Hello all,
>
> We have frontend as angular app which sends login credentials as username, 
> password along with few other request headers that helps us to construct 
> the right credentials to search for so we had to write an new REST endpoint 
> which calls the service class which extends 
> AbstractUsernamePasswordAuthenticationHandler 
> to override authenticateUsernamePasswordInternal
>
> rest of the flow we want it to be same as create TGT, call service url 
> with ST and then redirect to the service url but i wondering instead of 
> recreating the whole flow what could i logically do to hook onto existing 
> flow for TGT and ST after AbstractUsernamePasswordAuthenticationHandler
>
> Appreciate the help as always :) Thanks
>
>
>

-- 
- Website: https://apereo.github.io/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 visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f6a5cc5a-95f8-4e68-b30d-8ae39f4f93a1n%40apereo.org.

Reply via email to