# ginOauth2 **Repository Path**: wms3001/gin-oauth2 ## Basic Information - **Project Name**: ginOauth2 - **Description**: gin框架建单集成oauth2 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2022-05-17 - **Last Updated**: 2025-08-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ginOauth2 #### 介绍 gin框架建单集成oauth2 #### 软件架构 软件架构说明 #### 安装教程 ```golang go get github.com/gin-gonic/gin go get gopkg.in/oauth2.v3 go get github.com/google/uuid ``` #### 使用说明 ``` go build main.go ``` 1. http://localhost:9096/auth/credentials 2. http://localhost:9096/auth/token?grant_type=client_credentials&client_id=a02156b4-1a46-431&client_secret=98871767-3760-46&scope=all 3. http://localhost:9096/demo1/message 4. http://localhost:9096/demo/message #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)