This repository has been archived by the owner on Feb 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 366
/
Copy pathreference.conf
379 lines (300 loc) · 13.3 KB
/
reference.conf
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
#####################################################################################
#
# Play Authenticate defaults
#
#####################################################################################
play-authenticate {
# The user will get redirected here if no original URL was saved before
# starting the auth process and your resolver returns null for afterAuth()
afterAuthFallback="/"
afterLogoutFallback="/"
# If set to true, account merging is enabled, if set to false its disabled and accounts will never prompted to be merged
# defaults to true
accountMergeEnabled=true
# if this is set to true, accounts are automatically merged
# (e.g. if a user is logged in and uses an authentication provider
# which has already been registered to another user prior to logging out, those two users are merged
# Handle setting this to true this with care
# if set to false, your resolver must not return null for askMerge()
# defaults to false
accountAutoMerge=false
# if this is set to true, accounts are automatically linked
# (e.g. if a user is logged in and uses a different authentication provider
# which has NOT yet been registered to another user, this newly used authentication
# provider gets added to the current local user
# Handle setting this to true with care
# If set to false, your resolver must not return null for askLink()
# defaults to false
accountAutoLink=false
password {
mail {
from {
# Mailing from address
email="you@gmail.com"
# Mailing name
name=Play Authenticate
}
# Pause between email jobs (in seconds)
delay=1
}
}
# The Twitter settings
twitter {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
requestTokenUrl="https://api.twitter.com/oauth/request_token"
accessTokenUrl="https://api.twitter.com/oauth/access_token"
authorizationUrl="https://api.twitter.com/oauth/authenticate"
userInfoUrl="https://api.twitter.com/1.1/account/verify_credentials.json"
# Get the credentials here: https://dev.twitter.com/docs/auth/oauth
# Remove leading '#' after entering:
# consumerKey=
# consumerSecret=
}
# The Linkedin settings
linkedin {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
requestTokenUrl="https://api.linkedin.com/uas/oauth/requestToken?scope=r_basicprofile+r_emailaddress"
accessTokenUrl="https://api.linkedin.com/uas/oauth/accessToken"
authorizationUrl="https://api.linkedin.com/uas/oauth/authenticate"
userInfoUrl="http://api.linkedin.com/v1/people/~:(id,picture-url,first-name,last-name,industry,positions,public-profile-url)?format=json"
userEmailUrl="http://api.linkedin.com/v1/people/~/email-address?format=json"
# Get the credentials here: http://developer.linkedin.com/
# Remove leading '#' after entering:
# consumerKey=
# consumerSecret=
}
# The Foursquare settings
foursquare {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
authorizationUrl="https://foursquare.com/oauth2/authorize"
accessTokenUrl="https://foursquare.com/oauth2/access_token"
userInfoUrl="https://api.foursquare.com/v2/users/self"
# Get the credentials here: https://de.foursquare.com/oauth/
# Remove leading '#' after entering:
# clientId=
# clientSecret=
}
# The Facebook settings
facebook {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
authorizationUrl="https://www.facebook.com/v2.1/dialog/oauth"
accessTokenUrl="https://graph.facebook.com/oauth/access_token"
userInfoUrl="https://graph.facebook.com/v2.1/me"
# Comma-separated list of fields to retrieve from this Facebook user.
# See possible values here: https://developers.facebook.com/docs/reference/api/user/
# Note that some fields may require additional permissions on your Facebook App.
userInfoFields="id,name,first_name,middle_name,last_name,link,gender,email,timezone,locale,updated_time"
scope=email
# Additional parameter - Read more about it here: https://developers.facebook.com/docs/reference/dialogs/oauth
# display="popup"
# Get the credentials here: https://developers.facebook.com/apps
# Remove leading '#' after entering:
# clientId=
# clientSecret=
}
# The Google settings
google {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
authorizationUrl="https://accounts.google.com/o/oauth2/auth"
accessTokenUrl="https://accounts.google.com/o/oauth2/token"
userInfoUrl="https://www.googleapis.com/oauth2/v1/userinfo"
scope="https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email"
# Additional parameters - Read more about them here: https://developers.google.com/accounts/docs/OAuth2WebServer#offline
# accessType="offline"
# approvalPrompt="force"
# Get the credentials here: https://code.google.com/apis/console
# Remove leading '#' after entering:
# clientId=
# clientSecret=
}
# The OpenID settings
openid {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
attributes {
required {
email="http://schema.openid.net/contact/email"
}
optional {
country="http://axschema.org/contact/country/home"
firstname="http://axschema.org/namePerson/first"
language="http://axschema.org/pref/language"
lastname="http://axschema.org/namePerson/last"
}
}
}
# The Vk settings
vk {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
authorizationUrl="https://oauth.vk.com/authorize"
accessTokenUrl="https://oauth.vk.com/access_token"
userInfoUrl="https://api.vk.com/method/users.get"
# Comma-separated list of fields to retrieve from this Vk user.
# See possible values here: http://vk.com/dev/users.get
userInfoFields="nickname,screen_name,sex,photo_200_orig,timezone"
# Get the credentials here: http://vk.com/editapp?act=create
# Remove leading '#' after entering:
# clientId=
# clientSecret=
}
# The XING settings
xing {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
requestTokenUrl="https://api.xing.com/v1/request_token"
accessTokenUrl="https://api.xing.com/v1/access_token"
authorizationUrl="https://api.xing.com/v1/authorize"
userInfoUrl="https://api.xing.com/v1/users/me?fields=id,first_name,last_name,display_name,active_email,photo_urls,permalink,gender"
# XING credentials
# Get them here: https://dev.xing.com/
# Remove leading '#' after entering:
# consumerKey=
# consumerSecret=
}
# The Untappd settings
untappd {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# Take the code paramater and then pass it back to the following address via GET (pass parameters via
# the Query String):
# host=yourdomain.com
}
accessTokenUrl="https://untappd.com/oauth/authorize"
authorizationUrl="https://untappd.com/oauth/authenticate"
userInfoUrl="http://api.untappd.com/v4/user/info"
# Untappd credentials
# Get them here: https://untappd.com/api/
# Remove leading '#' after entering:
# clientId=
# clientSecret=
}
# The Pocket settings
pocket {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=true
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
requestTokenUrl="https://getpocket.com/v3/oauth/request"
accessTokenUrl="https://getpocket.com/v3/oauth/authorize"
authorizationUrl="https://getpocket.com/auth/authorize"
# Pocket credentials
# Get them here: http://getpocket.com/developer/apps/new
# Remove leading '#' after entering:
# consumerKey=
}
# The Github settings
github {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=true
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# host=yourdomain.com
}
accessTokenUrl="https://github.com/#/oauth/access_token"
authorizationUrl="https://github.com/#/oauth/authorize"
userInfoUrl="https://api.github.com/user"
# Github credentials
# Get them here: https://github.com/settings/applications/new
# Remove leading '#' after entering:
# clientId=
# clientSecret=
}
# The eventbrite settings
eventbrite {
# Timeout in ms
timeout = 10000
redirectUri {
# Whether the redirect URI scheme should be HTTP or HTTPS (HTTP by default)
secure=false
# You can use this setting to override the automatic detection
# of the host used for the redirect URI (helpful if your service is running behind a CDN for example)
# Take the code paramater and then pass it back to the following address via GET (pass parameters via
# the Query String):
# host=yourdomain.com
}
authorizationUrl="https://www.eventbrite.com/oauth/authorize"
accessTokenUrl="https://www.eventbrite.com/oauth/token"
userInfoUrl="https://www.eventbriteapi.com/v3/users/me"
# eventbrite credentials
# Get them here: http://developer.eventbrite.com/
# Redirect URL should be something like: http://yourdomain.com/authenticate/eventbrite
# Remove leading '#' after entering:
# clientId=
# clientSecret=
}
}