I've configured CAS-Server to return JWT and it works fine. My problem is
that I don't know how configure correctly my client to read this token.
My client is configured with spring-security-cas package. In a "traditional
authentication" CAS I define something similar as:
public CasAuthenticationProvider casAuthenticationProvider() {
CasAuthenticationProvider provider = new
CasAuthenticationProvider();
provider.setServiceProperties(serviceProperties());
provider.setTicketValidator(ticketValidator());
...
provider.setUserDetailsService(
s -> new User(...)
...
return provider;
}
In JWT case, I've to define an implementation similar to
CasAuthenticationProvider that it reads the ticket
(&ticket=eyJhbGciOiJIUzUxMiJ9.ZX...) received from de the cas? Any idea to
do this?
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c9f9df45-9426-45cf-9352-f21bc623502b%40apereo.org.