As written in the pull request: "not tested"
On 08/03/2018 12:11, Stefano Nucci wrote:
Hello I tried your fix but there are errors. Are you sure is ok?
Il giorno mercoledì 31 gennaio 2018 18:01:21 UTC+1, Pascal Rigaux ha scritto:
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
<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
<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
<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] <mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d4be34d3-7f50-49ab-b3a0-9d60a7957c7c%40apereo.org
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/d4be34d3-7f50-49ab-b3a0-9d60a7957c7c%40apereo.org?utm_medium=email&utm_source=footer>.
--
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/7d8a5c20-29c7-faff-b0c0-b27b3b255f6c%40univ-paris1.fr.