-
Notifications
You must be signed in to change notification settings - Fork 3
/
site_settings-sample.json
5445 lines (5445 loc) · 158 KB
/
site_settings-sample.json
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
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"site_settings": [
{
"setting": "title",
"description": "The name of this site, as used in the title tag.",
"default": "Discourse",
"type": "string",
"value": "Discourse",
"category": "required",
"preview": null
},
{
"setting": "site_description",
"description": "Describe this site in one sentence, as used in the meta description tag.",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "contact_email",
"description": "Email address of key contact responsible for this site. Used for critical notifications such as unhandled flags, as well as on the /about contact form for urgent matters.",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "contact_url",
"description": "Contact URL for this site. Used on the /about contact form for urgent matters.",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "notification_email",
"description": "The from: email address used when sending all essential system emails. The domain specified here must have SPF, DKIM and reverse PTR records set correctly for email to arrive.",
"default": "[email protected]",
"type": "string",
"value": "[email protected]",
"category": "required",
"preview": null
},
{
"setting": "site_contact_username",
"description": "A valid staff username to send all automated messages from. If left blank the default System account will be used.",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "logo_url",
"description": "The logo image at the top left of your site, should be a wide rectangle shape. If left blank site title text will be shown.",
"default": "/images/d-logo-sketch.png",
"type": "string",
"value": "/images/d-logo-sketch.png",
"category": "required",
"preview": null
},
{
"setting": "logo_small_url",
"description": "The small logo image at the top left of your site, should be a square shape, seen when scrolling down. If left blank a home glyph will be shown.",
"default": "/images/d-logo-sketch-small.png",
"type": "string",
"value": "/images/d-logo-sketch-small.png",
"category": "required",
"preview": null
},
{
"setting": "digest_logo_url",
"description": "The alternate logo image used at the top of your site's email summary. Should be a wide rectangle shape. Should not be an SVG image. If left blank `logo_url` will be used.",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "mobile_logo_url",
"description": "The fixed position logo image used at the top left of your mobile site. Should be a square shape. If left blank, `logo_url` will be used. eg: http://example.com/uploads/default/logo.png",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "favicon_url",
"description": "A favicon for your site, see http://en.wikipedia.org/wiki/Favicon, to work correctly over a CDN it must be a png",
"default": "/images/default-favicon.ico",
"type": "string",
"value": "/images/default-favicon.ico",
"category": "required",
"preview": null
},
{
"setting": "apple_touch_icon_url",
"description": "Icon used for Apple touch devices. Recommended size is 144px by 144px.",
"default": "/images/default-apple-touch-icon.png",
"type": "string",
"value": "/images/default-apple-touch-icon.png",
"category": "required",
"preview": null
},
{
"setting": "default_opengraph_image_url",
"description": "URL of the default opengraph image.",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "twitter_summary_large_image_url",
"description": "URL of the default Twitter summary card image (should be at least 280px in width, and at least 150px in height).",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "exclude_rel_nofollow_domains",
"description": "A list of domains where nofollow should not be added to links. tld.com will automatically allow sub.tld.com as well. As a minimum, you should add the top-level domain of this site to help web crawlers find all content. If other parts of your website are at other domains, add those too.",
"default": "",
"type": "list",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "company_short_name",
"description": "Company Name (short)",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "company_full_name",
"description": "Company Name (full)",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "company_domain",
"description": "Company Domain",
"default": "",
"type": "string",
"value": "",
"category": "required",
"preview": null
},
{
"setting": "default_locale",
"description": "The default language of this Discourse instance (ISO 639-1 Code)",
"default": "en",
"type": "enum",
"value": "en",
"category": "basic",
"preview": null,
"valid_values": [
{
"name": "اللغة العربية",
"value": "ar"
},
{
"name": "bosanski jezik",
"value": "bs_BA"
},
{
"name": "čeština",
"value": "cs"
},
{
"name": "dansk",
"value": "da"
},
{
"name": "Deutsch",
"value": "de"
},
{
"name": "ελληνικά",
"value": "el"
},
{
"name": "English",
"value": "en"
},
{
"name": "Español",
"value": "es"
},
{
"name": "eesti",
"value": "et"
},
{
"name": "فارسی",
"value": "fa_IR"
},
{
"name": "suomi",
"value": "fi"
},
{
"name": "Français",
"value": "fr"
},
{
"name": "galego",
"value": "gl"
},
{
"name": "עברית",
"value": "he"
},
{
"name": "Indonesian",
"value": "id"
},
{
"name": "Italiano",
"value": "it"
},
{
"name": "日本語",
"value": "ja"
},
{
"name": "한국어",
"value": "ko"
},
{
"name": "Norsk bokmål",
"value": "nb_NO"
},
{
"name": "Nederlands",
"value": "nl"
},
{
"name": "język polski",
"value": "pl_PL"
},
{
"name": "Português",
"value": "pt"
},
{
"name": "Português (BR)",
"value": "pt_BR"
},
{
"name": "limba română",
"value": "ro"
},
{
"name": "Русский",
"value": "ru"
},
{
"name": "slovenčina",
"value": "sk"
},
{
"name": "Shqip",
"value": "sq"
},
{
"name": "svenska",
"value": "sv"
},
{
"name": "తెలుగు",
"value": "te"
},
{
"name": "Türkçe",
"value": "tr_TR"
},
{
"name": "українська мова",
"value": "uk"
},
{
"name": "اردو",
"value": "ur"
},
{
"name": "Việt Nam",
"value": "vi"
},
{
"name": "中文",
"value": "zh_CN"
},
{
"name": "中文 (TW)",
"value": "zh_TW"
}
],
"translate_names": false
},
{
"setting": "allow_user_locale",
"description": "Allow users to choose their own language interface preference",
"default": "false",
"type": "bool",
"value": "false",
"category": "basic",
"preview": null
},
{
"setting": "set_locale_from_accept_language_header",
"description": "set interface language for anonymous users from their web browser's language headers. (EXPERIMENTAL, does not work with anonymous cache)",
"default": "false",
"type": "bool",
"value": "false",
"category": "basic",
"preview": null
},
{
"setting": "categories_topics",
"description": "Number of topics to show in /categories page.",
"default": "20",
"type": "integer",
"value": "20",
"category": "basic",
"preview": null
},
{
"setting": "suggested_topics",
"description": "Number of suggested topics shown at the bottom of a topic.",
"default": "5",
"type": "integer",
"value": "5",
"category": "basic",
"preview": null
},
{
"setting": "limit_suggested_to_category",
"description": "Only show topics from the current category in suggested topics.",
"default": "false",
"type": "bool",
"value": "false",
"category": "basic",
"preview": null
},
{
"setting": "suggested_topics_max_days_old",
"description": "Suggested topics should not be more than n days old.",
"default": "365",
"type": "integer",
"value": "365",
"category": "basic",
"preview": null
},
{
"setting": "track_external_right_clicks",
"description": "Track external links that are right clicked (eg: open in new tab) disabled by default because it rewrites URLs",
"default": "false",
"type": "bool",
"value": "false",
"category": "basic",
"preview": null
},
{
"setting": "ga_universal_tracking_code",
"description": "Google Universal Analytics (analytics.js) tracking code code, eg: UA-12345678-9; see http://google.com/analytics",
"default": "",
"type": "string",
"value": "",
"category": "basic",
"preview": null
},
{
"setting": "ga_universal_domain_name",
"description": "Google Universal Analytics (analytics.js) domain name, eg: mysite.com; see http://google.com/analytics",
"default": "auto",
"type": "string",
"value": "auto",
"category": "basic",
"preview": null
},
{
"setting": "ga_tracking_code",
"description": "OBSOLETE: Google analytics (ga.js) tracking code code, eg: UA-12345678-9; see http://google.com/analytics",
"default": "",
"type": "string",
"value": "",
"category": "basic",
"preview": null
},
{
"setting": "ga_domain_name",
"description": "OBSOLETE: Google analytics (ga.js) domain name, eg: mysite.com; see http://google.com/analytics",
"default": "",
"type": "string",
"value": "",
"category": "basic",
"preview": null
},
{
"setting": "gtm_container_id",
"description": "Google Tag Manager container id. eg: GTM-ABCDEF",
"default": "",
"type": "string",
"value": "",
"category": "basic",
"preview": null
},
{
"setting": "top_menu",
"description": "Determine which items appear in the homepage navigation, and in what order. Example latest|new|unread|categories|top|read|posted|bookmarks",
"default": "latest|new|unread|top|categories",
"type": "list",
"value": "latest|new|unread|top|categories",
"category": "basic",
"preview": null,
"choices": [
"latest",
"new",
"unread",
"top",
"categories",
"read",
"posted",
"bookmarks"
]
},
{
"setting": "post_menu",
"description": "Determine which items appear on the post menu, and in what order. Example like|edit|flag|delete|share|bookmark|reply",
"default": "like-count|like|share|flag|edit|bookmark|delete|admin|reply",
"type": "list",
"value": "like-count|like|share|flag|edit|bookmark|delete|admin|reply",
"category": "basic",
"preview": null,
"choices": [
"like-count",
"like",
"edit",
"flag",
"delete",
"share",
"bookmark",
"admin",
"reply"
]
},
{
"setting": "post_menu_hidden_items",
"description": "The menu items to hide by default in the post menu unless an expansion ellipsis is clicked on.",
"default": "flag|bookmark|edit|delete|admin",
"type": "list",
"value": "flag|bookmark|edit|delete|admin",
"category": "basic",
"preview": null,
"choices": [
"like",
"edit",
"flag",
"delete",
"share",
"bookmark",
"admin",
"reply"
]
},
{
"setting": "share_links",
"description": "Determine which items appear on the share dialog, and in what order.",
"default": "twitter|facebook|email",
"type": "list",
"value": "twitter|facebook|email",
"category": "basic",
"preview": null,
"choices": [
"twitter",
"facebook",
"google+",
"email"
]
},
{
"setting": "desktop_category_page_style",
"description": "Visual style for the /categories page.",
"default": "categories_and_latest_topics",
"type": "enum",
"value": "categories_and_latest_topics",
"category": "basic",
"preview": null,
"valid_values": [
{
"name": "category_page_style.categories_only",
"value": "categories_only"
},
{
"name": "category_page_style.categories_with_featured_topics",
"value": "categories_with_featured_topics"
},
{
"name": "category_page_style.categories_and_latest_topics",
"value": "categories_and_latest_topics"
}
],
"translate_names": true
},
{
"setting": "category_colors",
"description": "A list of hexadecimal color values allowed for categories.",
"default": "BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|283890",
"type": "list",
"value": "BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|283890",
"category": "basic",
"preview": null
},
{
"setting": "category_style",
"description": "Visual style for category badges.",
"default": "bullet",
"type": "enum",
"value": "bullet",
"category": "basic",
"preview": "<span class=\"badge-wrapper {{value}}\"><span class=\"badge-category-parent-bg\" style=\"background-color: #aaa;\"></span><span class=\"badge-category-bg\" style=\"background-color: #777;\"></span><span style=\"color: #fff;\" data-drop-close=\"true\" class=\"badge-category clear-badge\">Category</span></span>",
"valid_values": [
{
"name": "bar",
"value": "bar"
},
{
"name": "box",
"value": "box"
},
{
"name": "bullet",
"value": "bullet"
}
],
"translate_names": false,
"choices": [
"bar",
"box",
"bullet"
]
},
{
"setting": "enable_mobile_theme",
"description": "Mobile devices use a mobile-friendly theme, with the ability to switch to the full site. Disable this if you want to use a custom stylesheet that is fully responsive.",
"default": "true",
"type": "bool",
"value": "true",
"category": "basic",
"preview": null
},
{
"setting": "relative_date_duration",
"description": "Number of days after posting where post dates will be shown as relative (7d) instead of absolute (20 Feb).",
"default": "30",
"type": "integer",
"value": "30",
"category": "basic",
"preview": null
},
{
"setting": "topics_per_period_in_top_summary",
"description": "Number of top topics shown in the default top topics summary.",
"default": "20",
"type": "integer",
"value": "20",
"category": "basic",
"preview": null
},
{
"setting": "topics_per_period_in_top_page",
"description": "Number of top topics shown on the expanded 'Show More' top topics.",
"default": "50",
"type": "integer",
"value": "50",
"category": "basic",
"preview": null
},
{
"setting": "top_page_default_timeframe",
"description": "Default timeframe for the top view page.",
"default": "yearly",
"type": "enum",
"value": "yearly",
"category": "basic",
"preview": null,
"valid_values": [
{
"name": "all",
"value": "all"
},
{
"name": "yearly",
"value": "yearly"
},
{
"name": "quarterly",
"value": "quarterly"
},
{
"name": "monthly",
"value": "monthly"
},
{
"name": "weekly",
"value": "weekly"
},
{
"name": "daily",
"value": "daily"
}
],
"translate_names": false,
"choices": [
"all",
"yearly",
"quarterly",
"monthly",
"weekly",
"daily"
]
},
{
"setting": "fixed_category_positions",
"description": "If checked, you will be able to arrange categories into a fixed order. If unchecked, categories are listed in order of activity.",
"default": "false",
"type": "bool",
"value": "false",
"category": "basic",
"preview": null
},
{
"setting": "fixed_category_positions_on_create",
"description": "If checked, category ordering will be maintained on topic creation dialog (requires fixed_category_positions).",
"default": "false",
"type": "bool",
"value": "false",
"category": "basic",
"preview": null
},
{
"setting": "enable_badges",
"description": "Enable the badge system",
"default": "true",
"type": "bool",
"value": "true",
"category": "basic",
"preview": null
},
{
"setting": "enable_whispers",
"description": "Allow staff private communication within topics.",
"default": "false",
"type": "bool",
"value": "false",
"category": "basic",
"preview": null
},
{
"setting": "invite_only",
"description": "Public registration is disabled, all new users must be explicitly invited by staff.",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "login_required",
"description": "Require authentication to read content on this site, disallow anonymous access.",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "must_approve_users",
"description": "Staff must approve all new user accounts before they are allowed to access the site. WARNING: enabling this for a live site will revoke access for existing non-staff users!",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "enable_local_logins",
"description": "Enable local username and password login based accounts. (Note: this must be enabled for invites to work)",
"default": "true",
"type": "bool",
"value": "true",
"category": "login",
"preview": null
},
{
"setting": "allow_new_registrations",
"description": "Allow new user registrations. Uncheck this to prevent anyone from creating a new account.",
"default": "true",
"type": "bool",
"value": "true",
"category": "login",
"preview": null
},
{
"setting": "enable_signup_cta",
"description": "Show a notice to returning anonymous users prompting them to sign up for an account.",
"default": "true",
"type": "bool",
"value": "true",
"category": "login",
"preview": null
},
{
"setting": "enable_google_oauth2_logins",
"description": "Enable Google Oauth2 authentication. This is the method of authentication that Google currently supports. Requires key and secret.",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "google_oauth2_client_id",
"description": "Client ID of your Google application.",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "google_oauth2_client_secret",
"description": "Client secret of your Google application.",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "enable_yahoo_logins",
"description": "Enable Yahoo authentication",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "enable_twitter_logins",
"description": "Enable Twitter authentication, requires twitter_consumer_key and twitter_consumer_secret",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "twitter_consumer_key",
"description": "Consumer key for Twitter authentication, registered at http://dev.twitter.com",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "twitter_consumer_secret",
"description": "Consumer secret for Twitter authentication, registered at http://dev.twitter.com",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "enable_instagram_logins",
"description": "Enable Instagram authentication, requires instagram_consumer_key and instagram_consumer_secret",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "instagram_consumer_key",
"description": "Consumer key for Instagram authentication",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "instagram_consumer_secret",
"description": "Consumer secret Instagram authentication",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "enable_facebook_logins",
"description": "Enable Facebook authentication, requires facebook_app_id and facebook_app_secret",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "facebook_app_id",
"description": "App id for Facebook authentication, registered at https://developers.facebook.com/apps",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "facebook_app_secret",
"description": "App secret for Facebook authentication, registered at https://developers.facebook.com/apps",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "facebook_request_extra_profile_details",
"description": "Request about me, location and website from facebook. (requires that your auth application be approved by facebook)",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "enable_github_logins",
"description": "Enable Github authentication, requires github_client_id and github_client_secret",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "github_client_id",
"description": "Client id for Github authentication, registered at https://github.com/settings/applications",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "github_client_secret",
"description": "Client secret for Github authentication, registered at https://github.com/settings/applications",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "enable_sso",
"description": "Enable single sign on via an external site (WARNING: USERS' EMAIL ADDRESSES *MUST* BE VALIDATED BY THE EXTERNAL SITE!)",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "sso_allows_all_return_paths",
"description": "Do not restrict the domain for return_paths provided by SSO (by default return path must be on current site)",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "enable_sso_provider",
"description": "Implement Discourse SSO provider protocol at the /session/sso_provider endpoint, requires sso_secret to be set",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "verbose_sso_logging",
"description": "Log verbose SSO related diagnostics to /logs",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "sso_url",
"description": "URL of single sign on endpoint (must include http:// or https://)",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "sso_secret",
"description": "Secret string used to cryptographically authenticate SSO information, be sure it is 10 characters or longer",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "sso_overrides_bio",
"description": "Overrides user bio in user profile and prevents user from changing it",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "sso_overrides_email",
"description": "Overrides local email with external site email from SSO payload on every login, and prevent local changes. (WARNING: discrepancies can occur due to normalization of local emails)",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "sso_overrides_username",
"description": "Overrides local username with external site username from SSO payload on every login, and prevent local changes. (WARNING: discrepancies can occur due to differences in username length/requirements)",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "sso_overrides_name",
"description": "Overrides local full name with external site full name from SSO payload on every login, and prevent local changes.",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "sso_overrides_avatar",
"description": "Overrides user avatar with external site avatar from SSO payload. If enabled, disabling allow_uploaded_avatars is highly recommended",
"default": "false",
"type": "bool",
"value": "false",
"category": "login",
"preview": null
},
{
"setting": "sso_not_approved_url",
"description": "Redirect unapproved SSO accounts to this URL",
"default": "",
"type": "string",
"value": "",
"category": "login",
"preview": null
},
{
"setting": "email_domains_blacklist",
"description": "A pipe-delimited list of email domains that users are not allowed to register accounts with. Example: mailinator.com|trashmail.net",
"default": "mailinator.com",
"type": "list",
"value": "mailinator.com",
"category": "login",
"preview": null
},
{