[英]Simple Spring Oauth2 flow using Postman
hello i'm a beginner with Oauth2 flow. 你好,我是Oauth2 Flow的初学者。 I'm working with a simple example : Github Project here but i failed at making a proper connection.
我正在使用一个简单的示例: Github Project,但我无法建立正确的连接。 I have received an error message like : "couldn't complete Oauth 2.0 login "
我收到了以下错误消息:“无法完成Oauth 2.0登录”
I filled the Request Token popup with the values below : 我用以下值填充了“请求令牌”弹出窗口:
Callback URL : getpostman.com/oauth2/callback
回调网址:getpostman.com/oauth2/callback
Token Name : mytoken
令牌名称:mytoken
Auth URL : localhost:8080/admin/oauth
验证网址:localhost:8080 / admin / oauth
Acces Token URL : localhost:8080/admin/oauth/token
访问令牌URL:localhost:8080 / admin / oauth / token
ClientID : my-client-with-secret
ClientID:我的秘密客户
Client Secret : secret
客户秘密:秘密
Grant Type : Authorization Code
赠款类型:授权码
Whats wrong with the information i provided ? 我提供的信息有什么问题?
Thanks 谢谢
There are a few incorrect things that I've noticed. 我注意到一些不正确的事情。
Although this post is a few months old and probably you've solved your problem , it may help someone with similar problem like yours. 尽管这篇文章已有几个月的历史,并且可能已经解决了您的问题,但它可能会对像您这样的类似问题的人有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.