ethanroi / springcloud_oauth2.0 Goto Github PK
View Code? Open in Web Editor NEW一个基于Spring Cloud+OAuth2.0+Spring Security+Redis的统一认证脚手架
一个基于Spring Cloud+OAuth2.0+Spring Security+Redis的统一认证脚手架
能加点注释么,路过看不懂
1.由网关进入http://localhost:8888/auth/oauth/authorize?response_type=code&client_id=1569489746617&redirect_uri=http%3A%2F%2Fwww.baidu.com
2.网关会将请求路由到认证服务:http://localhost:8889/oauth/authorize? (这里网关会去掉 auth前缀)response_type=code&client_id=1569489746617&redirect_uri=http%3A%2F%2Fwww.baidu.com
3.auth服务检测到请求未登录,跳转登录页面让其登录,
4.登录成功后会请求原接口http://localhost:8889/oauth/authorize? 返回授权页面。。让用户选择是否收授权
5.用户同意授权,跳转回调url,并回写code (后面拿code换取 access_token的流程就不用说了)
大牛好,项目启动后,如何访问呢,本人是个小白,麻烦指导一下啊
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.