blob: f5a083c8dea0c4879f706f7765c10744805e86ec (
plain)
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
|
;; Pleasant SSO configuration file
[site]
;; site name displayed to users. can be anything
name = Pleasant SSO
;; primary domain where your login page will be
primary-domain = auth.example.com
;; location where the source code of the version of the software running on your
;; server can be found. so if you make any significant changes to the source
;; code you'd better put them up online somewhere and change this accordingly!!
;; this is required for AGPL compliance
source-location = https://git.зима.net/winter/pleasant-sso/
[integration]
;; what string to put on the front of header names destined for proxies
;; e.g. if this is 'X-Login', it will make headers like 'X-Login-User'
header-prefix = X-Login
[auth]
;; what AuthProvider to use - i.e. who to ask for users' information
;; ConfigFile -> look in this file, see below
provider = ConfigFile
;; this next section allows you to define users very simple here in the config
;; file, in case you don't want to use an external auth provider (set above)
;; but if you are using an external provider it's okay to remove all of this
[users]
;; <user>.password-hash -> allow password login for user
;; password hash should be generated by php function 'password_hash'
winter.password-hash = "$2y$12$V3dwpbHF5fTx46g9xMflvODNGmr0apltiaDONUSE2skRrslgcRxSS"
;; more options to be added in future!
|