@ RequestMapping ( value = USERINFO_ENDPOINT_URI , produces = USERINFO_CONTENT_TYPE , method = { RequestMethod . GET , RequestMethod . POST } ) public String userInfo ( HttpServletRequest request , @ RequestParam ( value = "claims" , required = false ) String claims , @ RequestParam ( value = "groups" , required = false ) String groups ) { final IPerson person = personManager . getPerson ( request ) ; return createToken ( person , claims , groups ) ; }
Obtain an OIDC Id token for the current user .