Spring Boot Rest服务,带有来自数据库的oAuth2安全凭证

Har*_*oux 8 rest jpa oauth-2.0 spring-boot

有没有人可以帮我一个Spring Boot应用程序示例,该应用程序包含一个Rest服务,其端点受Spring Security保护,使用oAuth2和MySQL数据库的用户凭据?

Dav*_*yer 6

这个怎么样:https://github.com/spring-projects/spring-security-oauth/tree/master/tests/annotation/jdbc(它不是MySQL,但它是JDBC,所以转换是微不足道的)?