Hi all!

I'm working with CAS 5.2.3 and I'm trying to configure the instropection 
behavior and its response (cas/oidc/introspect)

Next, the question:

Can I configure CAS to return the "username" in the instropection response? 

Now, the response is the next:

{"active":true,
"sub":"client_test",
"scope":"openid",
"iat":1537193418105,
"exp":1500,
"realmName":"",
"uniqueSecurityName":"client_test",
"tokenType":"bearer",
"aud":"client_test",
"iss":"https://server/cas/oidc";,
"client_id":"client_test",
"grant_type":"password"
} 

Besides, 

Can I configure CAS to return different error codes when the token is 
wrong? 

Always return 500 and we can't handle different cases like token expiration 
and invalid token.

Thank in advance.
Leo.


   

-- 
- 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/92586a8e-0da7-40a4-9fc9-7db74311acab%40apereo.org.

Reply via email to