-
Notifications
You must be signed in to change notification settings - Fork 41.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show the use of token properties in authorization server clients configuration example #44990
Comments
As far as I can tell, we already have the per-client properties: Lines 459 to 488 in 05a9521
The yaml to configure them would be something like this: spring.security.oauth2.authorizationserver.client:
my-client:
token:
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 The metadata and documentation for them is lacking at the moment. #9945 will help with that in time. |
Ah I see, that's good news. |
I would report that to Jetbrains. As I understand it, they do not use the metadata but instead introspect the types to which the properties are bound. As such, I'd expect IDEA ultimate to be able to offer auto-complete for the token properties. |
We can improve the documentation by adding the token properties to the example in this existing section. |
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:Possibly an ability to set a default for all clients too.
The text was updated successfully, but these errors were encountered: