Skip to content

Opaque Token Introspector should return an Authenticated Principal #7345

Closed
@jzheaux

Description

@jzheaux

Similar to OAuth2UserService, which returns an OAuth2User (which is an AuthenticatedPrincipal), it'd be appropriate for OpaqueTokenIntrospector to return OAuth2AuthenticatedPrincipal.

It shouldn't return an OpaqueToken because the token is no longer opaque once it returns from introspection.

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions