springboot2整合OAuth2.0实例java
代码实例放到:https://github.com/haoxiaoyong1014/springboot-examplesgit
springboot-oauth2 包括: springboot-oauth2-authorization-server(认证服务)和springboot-oauth2-resource-server(资源服务) springBoot版本:2.0.1.RELEASEgithub
受权码模式:spring
访问认证服务器springboot
http://localhost:8888/oauth/authorize?response_type=code&client_id=merryyou&redirect_uri=https://github.com/haoxiaoyong1014?tab=repositories&scope=all服务器
是否赞成并受权app