oauth2 go example:oauth2示例 源码
oauth2-go-example 适用于beego示例的oauth2 运行APP bee run或go run main.go API测试 不携带token访问资源时 HTTP GET 127.0.0.1:8080/ Status 403 invalid access token 获取clientid和clientsecret HTTP GET 127.0.0.1:8080/credentials response { "client_id": "54b052bb", "client_secret": "8fe0a1c8" } 获取Token HTTP GET 127.0.0.1:8080/token?grant_type=client_credentials&client_id=54b052bb&client_secret=8fe0a1c8&scope=all re
文件列表
oauth2-go-example-main.zip
(预估有个16文件)
oauth2-go-example-main
go.mod
397B
static
js
reload.min.js
352B
go.sum
30KB
views
index.tpl
69KB
main.go
104B
README.md
738B
暂无评论