forked from trilbymedia/grav-plugin-login-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login-oauth2.yaml
57 lines (51 loc) · 1.05 KB
/
login-oauth2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
enabled: true
built_in_css: true
button_style: row
save_grav_user: false
store_provider_data: true
default_access_levels:
access:
site:
login: 'true'
callback_uri: '/task:callback.oauth2'
providers:
github:
enabled: true
client_id: ''
client_secret: ''
options:
scope: ['user', 'user:email', 'repo']
instagram:
enabled: true
client_id: ''
client_secret: ''
options:
scope: ['basic', 'likes', 'comments']
host: 'https://api.instagram.com'
facebook:
enabled: true
app_id: ''
app_secret: ''
options:
scope: ['email', 'public_profile', 'user_hometown']
graph_api_version: 'v2.10'
google:
enabled: true
client_id: ''
client_secret: ''
hd: '*'
options:
scope: ['email', 'profile']
avatar_size: 200
linkedin:
enabled: true
client_id: ''
client_secret: ''
options:
scope: ['r_basicprofile','r_emailaddress']
gitlab:
enabled: true
client_id: ''
client_secret: ''
options:
scope: ['read_user', 'openid']