Skip to content

Commit f8d19f2

Browse files
author
archcentric
committed
upload social github lab
1 parent de73eb2 commit f8d19f2

14 files changed

Lines changed: 676 additions & 0 deletions

File tree

lab06/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Github社交联合登录实验
2+
======
3+
4+
# 操作方式
5+
6+
### 1. 在github上注册开发者应用获取Client Credentials
7+
8+
Authorization callback URL:
9+
10+
http://localhost:8080/connect/github
11+
12+
### 2. 更新social-github应用配置文件
13+
14+
根据上一步获得的Client Credentials替换你的**app-id****app-secret**
15+
16+
```
17+
spring.social.github.app-id=YOUR_APP_ID
18+
spring.social.github.app-secret=YOUR_APP_SECRET
19+
```

lab06/social-github/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
4+
### STS ###
5+
.apt_generated
6+
.classpath
7+
.factorypath
8+
.project
9+
.settings
10+
.springBeans
11+
12+
### IntelliJ IDEA ###
13+
.idea
14+
*.iws
15+
*.iml
16+
*.ipr
17+
18+
### NetBeans ###
19+
nbproject/private/
20+
build/
21+
nbbuild/
22+
dist/
23+
nbdist/
24+
.nb-gradle/

lab06/social-github/mvnw

Lines changed: 225 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)