Token introspection is slow #15

Closed
opened 2026-02-20 09:19:19 +01:00 by ansv7779 · 0 comments
Owner

Token introspection suffers from the same issues that the login/userinfo flow did in #12. The offending query is trying to lookup a token by any value which is called by OAuth2TokenIntrospectionAuthenticationProvider from Spring Security Authorization Server.

Token introspection suffers from the same issues that the login/userinfo flow did in #12. The offending query is [trying to lookup a token by any value](https://gitea.dsv.su.se/DMC/oauth2-authorization-server/src/commit/a74f3548305020fe527f10c49743489598e0ba6d/src/main/java/se/su/dsv/oauth2/SerializingJDBCOAuth2AuthorizationService.java#L133) which is called by [OAuth2TokenIntrospectionAuthenticationProvider](https://github.com/spring-projects/spring-authorization-server/blob/9bb6da8aa735c28759b0f0d020a3db139b2924bd/oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2TokenIntrospectionAuthenticationProvider.java#L89) from Spring Security Authorization Server.
Sign in to join this conversation.
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DMC/oauth2-authorization-server#15
No description provided.