https://github.com/southliu/github-oauth
github授权登录demo
https://github.com/southliu/github-oauth
Last synced: 3 months ago
JSON representation
github授权登录demo
- Host: GitHub
- URL: https://github.com/southliu/github-oauth
- Owner: southliu
- Created: 2024-02-23T12:07:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-24T09:07:25.000Z (over 1 year ago)
- Last Synced: 2025-01-16T10:30:46.611Z (5 months ago)
- Language: HTML
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Github Oauth授权登录
- 修改配置
1. 打开`./views/index.html`文件,修改`client_id`和`redirect_uri`值。
2. 打开`./index.js`文件,修改`client_id`和`client_secret`值。- 配置项来源
![]()
![]()
![]()
- 安装依赖
```bash
pnpm install
```- 运行
```bash
pnpm dev
```- 浏览器访问
```bash
http://localhost:5050/
```