实现OAuth2.0的一个简单示例

use*_*761 9 java oauth

我想使用OAuth2.0构建我的项目,我已经通过url阅读了示例页面:https://bitbucket.org/smartproject/oauth-2.0/wiki/Home.当我运行Github的Oauth-demo时,出现错误通过将重定向URi设置为http:// localhost:8080/myproject/redirect返回404消息.我不知道我能做什么,我很想知道谁可以给我一些提示或一个简单的例子,包括客户端和授权服务器.

Mar*_*ker 3

Spring Security支持oauth 1.0和2.0

oauth 示例代码

这应该有帮助