You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2022. It is now read-only.
In AuthorizationServerConfig, I overrided the configure(ClientDetailsServiceConfigurer clients) method.
then I use a clients.inMemory() and set the accessTokenVliditySeconds.
Later I find the token I got is still the default value.
I did a bit of deep research, and I find:
in the class DefaultTokenServices, method getAccessTokenValiditySeconds, because this.clientDetailsService is null, so the the custom time will not be used.