Hello,

Pretty sure it is not possible without modifying CAS code, The logic for 
generating OAuth/OpenID Authentication is here:
1. 
https://github.com/apereo/cas/blob/v6.0.1/support/cas-server-support-oauth-core/src/main/java/org/apereo/cas/ticket/accesstoken/DefaultAccessTokenFactory.java#L43
2. 
https://github.com/apereo/cas/blob/v6.0.1/core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/util/DefaultUniqueTicketIdGenerator.java#L104

As seen above, the logic behind the access token is just random string of 
24 length.

I think your real option here is to either customize CAS yourself, or see 
if the use of the JWT work flow suits you 
(https://apereo.github.io/cas/6.0.x/installation/Configure-ServiceTicket-JWT.html).

Cheers!
- Andy



-- 
- 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/38cb8019-a3fd-4bd2-b8cb-c5380115fda6%40apereo.org.

Reply via email to