Hi,
I am trying to upgrading from 5.2.x t0 6.x version for my testing but
getting but getting issue with base64 encode which is not working
properly, When i try to decode the jwt token it is not able to get the
payload data. But in earlier version 5.2.x i did not have any issues
can somebody help me on this.
build.gardle dependencies
compile
"org.apereo.cas:cas-server-webapp${project.appServer}:${casServerVersion}"
compile "org.apereo.cas:cas-server-support-rest:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-rest-tokens:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-token-tickets:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-rest-authentication:${project.'cas.version'}"
cas.authn.token.crypto.enabled=false
cas.authn.token.crypto.encryptionEnabled=false
cas.authn.token.crypto.signing.key=xxxxxxxx
cas.authn.token.crypto.signing.keySize=512
cas.authn.token.crypto.encryption.key=xxxxxxxx
cas.authn.token.crypto.encryption.keySize=256
and
{
"@class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : https://.*.example.com",
"name" : "myApplication",
"id" : 10000001,
"description" : "This service definition authorized all application urls
that support HTTPS protocol.",
"evaluationOrder": 2
"proxyPolicy" : {
"@class" : "org.apereo.cas.services.RefuseRegisteredServiceProxyPolicy"
},
"usernameAttributeProvider" : {
"@class" :
"org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider"
},
"attributeReleasePolicy" : {
"@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy",
"principalAttributesRepository" : {
"@class" :
"org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository"
},
"authorizedToReleaseCredentialPassword" : false,
"authorizedToReleaseProxyGrantingTicket" : false
},
"logoutType" : "BACK_CHANNEL",
"accessStrategy" : {
"@class" :
"org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : true
},
"properties" : {
"@class" : "java.util.HashMap",
"jwtSigningSecret" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty",
"values" : [ "java.util.HashSet", [ "9qz--------DlSwNx" ] ]
},
"jwtAsResponse" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty",
"values" : [ "java.util.HashSet", [ "true" ] ]
}
}
Regards,
Raheem
--
********************************************
*Inmar Confidentiality
Note*: This e-mail and any attachments are confidential and intended to be
viewed and used solely by the intended recipient. If you are not the
intended recipient, be aware that any disclosure, dissemination,
distribution, copying or use of this e-mail or any attachment is
prohibited. If you received this e-mail in error, please notify us
immediately by returning it to the sender and delete this copy and all
attachments from your system and destroy any printed copies. Thank you for
your cooperation.
*Notice of Protected Rights*: The removal of any
copyright, trademark, or proprietary legend contained in this e-mail or any
attachment is prohibited without the express, written permission of Inmar,
Inc. Furthermore, the intended recipient must maintain all copyright
notices, trademarks, and proprietary legends within this e-mail and any
attachments in their original form and location if the e-mail or any
attachments are reproduced, printed or distributed.
********************************************
--
- 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/94f4ceb2-9146-4ef8-a9f9-501f38e2b7dc%40apereo.org.