OAuth20UserProfileControllerController:
public ResponseEntity<String> handleRequest(HttpServletRequest request,
HttpServletResponse response) throws Exception {
....
AccessToken accessTokenTicket =
(AccessToken)this.ticketRegistry.getTicket(accessToken, AccessToken.class);
if(accessTokenTicket != null && !accessTokenTicket.isExpired()) {
TicketGrantingTicket ticketGrantingTicket =
accessTokenTicket.getGrantingTicket(); -> Here comes the error:
accessTokenTicket.getGrantingTicket(); -> NULL
Request is done as ?access_token="+ accessToken. Access token is nicely
got, but no granting Ticket. Any ideas?
--
- 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/0c56e3ac-4a25-486e-9ab1-017db83cdd4f%40apereo.org.