Hi, I've configured CAS to return TGT as JWT adding the dependency on the 
maven overlay:
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-rest-tokens</artifactId>
<version>${cas.version}</version>
</dependency>

Info:
https://apereo.github.io/cas/5.3.x/protocol/REST-Protocol.html#jwt-ticket-granting-tickets


I've configured CAS to return a JWT Signed with HS512.
ST granting works fine (with standard TGT).

Every time I try to get a TGT in JWT with the following REST call:
POST /cas/v1/tickets HTTP/1.0

username=battags&password=password&token=true&additionalParam1=paramvalue


I receive this error:
Unauthorized Service Access. Service [] is not found in service registry.

If I omit or set the token param to "false", the standard TGT is granted 
correctly.

What's wrong with that?


Thank you very much


Bye

K

-- 
- 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/ea19dc2c-26ae-4831-bc7b-5a2131257149%40apereo.org.

Reply via email to