好的。
首先,您可以在Spring Boot中自定义TokenEndpoint,只需要实现AuthorizationServerEndpointsConfigurer接口的TokenEndpoint的customize方法,然后在您的配置类中添加如下内容:
@Autowired
private TokenEndpoint tokenEndpoint;
@Override
public void configure(AuthorizationServerEndpointsConfigurer endpoints) {
tokenEndpoint.setClientDetai