Closed
Description
Spring Authorization Server allows defining per-client token settings.
spring-projects/spring-authorization-server#1385 (comment)
However, Boot's OAuth2AuthorizationServerProperties
does not expose this. I'd like to see something like this:
spring.security.oauth2.authorizationserver.client:
my-client:
client-id: 41fd9212-dc6f-4ced-a7a8-e6431a3f49da
client-secret: '{noop}secret'
tokens:
authorization-code-time-to-live: 5m
access-token-time-to-live: 10m
access-token-format: reference
reuse-refresh-tokens: false
refresh-token-time-to-live: 28d
Possibly an ability to set a default for all clients too.