Hi there,
Did you manage to fix the issue?
I got the same error with CAS 5.3.12. I tried to request JWT service
tickets in version 6.0.5, and 6.1.0-RC4 as well, and got the exact same
error.
Thanks
Ray
On Saturday, 29 June 2019 00:33:24 UTC+10, K Devops wrote:
>
> 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/e3718936-dd88-478e-b454-515e70c73f5c%40apereo.org.