Hello,
I'm trying to validate a JWT produced by CAS (version 6.0.x) on the website
https://jwt.io/#debugger. The answer is "Invalid Signature"
Just to clarify, i'm trying to get a JWT instead of a Service Ticket after a successfull authentication and not trying to authenticate using a JWT.
I configured my "application.properties" file with these parameters
##
# JWT - Encrypt Tokens
#
cas.authn.token.crypto.enabled=true
cas.authn.token.crypto.encryptionEnabled=true
cas.authn.token.crypto.signingEnabled=true
cas.authn.token.crypto.encryption.key=xxxxxxxxxxxx (real chain replaced by xxxx!)
cas.authn.token.crypto.signing.key=xxxxxxxxxxx (real chain replaced by xxxx!)
In the cas log, i have these information :
INFO [org.apereo.cas.util.cipher.BaseStringCipherExecutor] - <Signing is not enabled for [Token/JWT Tickets]. The cipher [RegisteredServiceJwtTicketCipherExecutor] will attempt to produce plain objects>
I cannot find how to correctly enable this featured for JWT.
Many thanks for your help,
Cyrus