请访问:https://docs.spring.io/spring-authorization-server/reference/1.3-SNAPSHOT/guides/how-to-custom-claims-authorities.html Spring Authorization Server How-to Guides How-to: Add authorities as custom claims in JWT access tokens How-to: Implement core services with JPA