Note that if you disable encryption with
cas.authn.token.crypto.encryptionEnabled=false
The payload will be double base64 encoded. I created a fix here:
https://github.com/apereo/cas/pull/3179
On 31/01/2018 17:01, Pascal Rigaux wrote:
On 15/12/2017 16:11, Didier Capdevielle wrote:
What exactly do jwtAsServiceTicket vs jwtAsResponse ?
jwtAsServiceTicket replaces jwtAsResponse.
(cf
https://github.com/apereo/cas/commit/b163f59b2376a4cceda0640be91bbc895fac6f3e )
No errors in log : TGT then ST then ST Validate but after that, nothing. No
trace of JWT (and TGC looks same).
How to be sure application received JWT and how to decrypt that ?
Where am i wrong in configuration ?
Maybe you hit this issue https://github.com/apereo/cas/pull/3107 ?
On 5.2.2, I successfully got a JWT after adding
"properties" : {
"@class" : "java.util.HashMap",
"jwtAsResponse" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty",
"values" : [ "java.util.HashSet", [ "true" ] ]
}
}
in a service conf file
--
Pascal Rigaux
Expert en développement et déploiement d'applications
DSIUN-SAS (service applications et services numériques)
Université Paris 1 Panthéon-Sorbonne - Centre Pierre Mendès France (PMF)
B 407 - 90, rue de Tolbiac - 75634 PARIS CEDEX 13 - FRANCE
Tél : 01 44 07 86 59
--
- 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/22f1272e-8043-04da-0cfe-93858de6ae1b%40univ-paris1.fr.