Browse Source
OAuth2Authentication#getPrincipal() used by OAuth2Authentication#getName() defaults to the client id if user authentication is not available. Prior to this fix, an introspection of a client-only access token would result to the user_id also being the client_id. This causes problems when this introspection result is converted into an OAuth2Authentication by a resource server's IntrospectingTokenService -- the user_id is populated with the client_id and so OAuth2Authentication's userAuthentication is populated falsely.pull/1079/merge
Sofia Ang
8 years ago
committed by
Justin Richer
1 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue