# LKOAuth2 **Repository Path**: lookweb/lkoauth2 ## Basic Information - **Project Name**: LKOAuth2 - **Description**: 第三方OAuth授权快捷登录(QQ、微信、微博、等)http://oauth.lookweb.cn - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 11 - **Forks**: 2 - **Created**: 2019-08-02 - **Last Updated**: 2025-01-15 ## Categories & Tags **Categories**: oauth-dev **Tags**: None ## README # LKOAuth2 #### 介绍 第三方OAuth授权快捷登录(QQ、微信、微博、等) QQ登录已完成(正常访问) 微博登录已完成(代码正常,提交的审核信息没有通过审核) 微信登录已完成(由于缺少营业执照信息,无法提供演示) http://oauth.lookweb.cn ![输入图片说明](https://images.gitee.com/uploads/images/2019/0916/151247_07e5902c_1287815.png "_UXQKS0NUP90S%3J4NK{Q{R.png") #### 软件架构 项目基于ASP.NET4.0 开发 依赖第三方库:Newtonsoft.Json.dll #### 项目结构 ![输入图片说明](https://images.gitee.com/uploads/images/2019/0802/184658_362e2f72_1287815.png "O]F7N%X]@HQ}MW({W3O{886.png") #### 安装教程 调用方法 1.发起请求 ![输入图片说明](https://images.gitee.com/uploads/images/2019/0802/184802_d8eefa55_1287815.png "ULZQ$E~R}QA3CAKQW9D)ZE0.png") 2.获取用户信息 ![输入图片说明](https://images.gitee.com/uploads/images/2019/0802/184755_21f8ce2d_1287815.png "Y_7ATR7A(8%`USI)(C%K$FY.png") 源码中有一个配置文件被我删除了,这里我给出这个文件的格式 AppData目录下面名为oauth.xml 的文件 ``` http://oauth.lookweb.cn/oauth/ReturnUrl https://graph.qq.com/oauth2.0/authorize https://graph.z.qq.com/moc2/authorize https://graph.qq.com/oauth2.0/token https://graph.qq.com/oauth2.0/me https://graph.qq.com/user/get_user_info https://graph.qq.com/oauth2.0/me http://oauth.lookweb.cn/oauth/ReturnUrl https://api.weibo.com/oauth2/authorize https://api.weibo.com/oauth2/access_token https://api.weibo.com/oauth2/get_token_info https://api.weibo.com/2/users/show.json https://api.weibo.com/oauth2/revokeoauth2 https://api.weibo.com/2/account/profile/email.json http://www.fiyta.com.cn/oauth/ReturnUrl https://open.weixin.qq.com/connect/qrconnect https://api.weixin.qq.com/sns/oauth2/access_token https://api.weixin.qq.com/sns/oauth2/refresh_token https://api.weixin.qq.com/sns/userinfo http://oauth.lookweb.cn/oauth/ReturnUrl https://oauth-login.cloud.huawei.com/oauth2/v2/authorize https://api.vmall.com/rest.php https://localhost:44353/oauth/ReturnUrl https://login.microsoftonline.com/common/oauth2/v2.0/authorize https://login.microsoftonline.com/common/oauth2/v2.0/token https://graph.microsoft.com/v1.0/me http://oauth.lookweb.cn/oauth/ReturnUrl https://open.weixin.qq.com/connect/oauth2/authorize https://api.weixin.qq.com/sns/oauth2/access_token https://api.weixin.qq.com/sns/oauth2/refresh_token https://api.weixin.qq.com/sns/userinfo ```