Giter Site home page Giter Site logo

seerglaucus / oauth2 Goto Github PK

View Code? Open in Web Editor NEW
38.0 1.0 1.0 122 KB

这是一个oauth2的示例工程,还原了oauth2标准的完整实现流程,应用它可以加深我们对oauth2的理解。

Java 61.91% HTML 4.69% CSS 2.34% JavaScript 25.26% PLpgSQL 5.80%
oauth2 spring spring-security-oauth2 authorization maven jetty

oauth2's Introduction

oauth2

这是一个oauth2的示例工程,还原了oauth2标准的完整实现流程,应用它可以加深我们对oauth2的理解。

由来

为了了解oauth2的流程,在git上找了一些工程,但很少能够开包即用,此工程脱胎于nareshbafna/oauth2,做了一些优化和修改,以使用户能够不用关注怎么配置和debug,拿来即可以研究oauth2。

应用

  • clone到本地
  • 把oauthdb.sql倒入数据库
  • 设置每个工程sring-servlet.xml中的数据库配置
  • 分别启动resourceServer,authServer,client工程
  • 访问localhsot:8080/client

建议优先理解一下阮老师的文章理解OAuth 2.0

oauth2's People

Contributors

seerglaucus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

morgengc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.