[cas-user] Re: What is sign key for JWT in CAS OAuth2?

2020-05-29 Thread dg
hey, thanks for response. i have tried both cas.authn.token.crypto and 
cas.authn.oauth.accessToken.crypto prefixes, but still validation error. 
anybody knows where is the sign key or how can i set sign key?

by the way, i dont need to encyprtion jwt, just signing it enough.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/99facf65-8c66-438e-a682-c23c82004399%40apereo.org.


Re: [cas-user] Re: What is sign key for JWT in CAS OAuth2?

2020-05-28 Thread Ray Bon
The field identifier, cas.authn.oauth.crypto.signing.key, is different than the 
one you have in your properties, 
cas.authn.oauth.access-token.crypto.signing.key.

Perhaps both are needed.

Ray

On Thu, 2020-05-28 at 09:19 -0700, dg wrote:
hi, thanks for response. i am little confused. does cas generate an sign key 
automatically even if I have set the sign key?

here is my logs

2020-05-28 19:05:54,024 INFO [org.apereo.cas.util.CoreTicketUtils] - 
2020-05-28 19:05:54,082 INFO 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,082 INFO 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,205 INFO 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,221 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,227 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,228 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,228 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,479 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,479 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,480 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,480 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,657 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:54,657 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:54,658 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:54,660 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:57,693 INFO [org.apereo.cas.web.CasWebApplication] - 
2020-05-28 19:05:57,701 INFO [org.apereo.cas.web.CasWebApplication] - <>
2020-05-28 19:05:57,701 INFO [org.apereo.cas.web.CasWebApplication] - <


    ____   __
 |  _ \| |  / \  |  _ \ \ / /
 | |_) |  _|   / _ \ | | | \ V /
 |  _ <| |___ / ___ \| |_| || |
 |_| \_\_/_/   \_\/ |_|

>

i used this key in my resource server, but nothing changed, still validation 
error.

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f8a1be08f238cec7b350d417a856a6b607a724d0.camel%40uvic.ca.


[cas-user] Re: What is sign key for JWT in CAS OAuth2?

2020-05-28 Thread dg
hi, thanks for response. i am little confused. does cas generate an sign 
key automatically even if I have set the sign key? 

here is my logs

2020-05-28 19:05:54,024 INFO [org.apereo.cas.util.CoreTicketUtils] - 

2020-05-28 19:05:54,082 INFO 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,082 INFO 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,205 INFO 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,221 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,227 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,228 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,228 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - **
2020-05-28 19:05:54,479 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,479 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,480 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,480 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2020-05-28 19:05:54,657 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:54,657 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:54,658 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:54,660 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2020-05-28 19:05:57,693 INFO [org.apereo.cas.web.CasWebApplication] - 

2020-05-28 19:05:57,701 INFO [org.apereo.cas.web.CasWebApplication] - <>
2020-05-28 19:05:57,701 INFO [org.apereo.cas.web.CasWebApplication] - <


    ____   __
 |  _ \| |  / \  |  _ \ \ / /
 | |_) |  _|   / _ \ | | | \ V /
 |  _ <| |___ / ___ \| |_| || |
 |_| \_\_/_/   \_\/ |_|

>

i used this key in my resource server, but nothing changed, still 
validation error. 

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/88abbac6-db96-4460-9a16-b4e04d23ab1b%40apereo.org.