You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/configuring-clients.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,6 @@ Managing applications can be done from using the Applications option from main m
11
11
12
12
The main properties of an application are:
13
13
14
-
* name
15
-
* internal key - appkey - communication key string identifying the external application as a Concorda client. This should be the same as the appkey set in the concorda's [client ](./install-clients.md) options.
14
+
*`name`
15
+
* internal key - `appkey` - communication key string identifying the external application as a Concorda client. This should be the same as the appkey set in the concorda's [client ](./install-clients.md) options.
Copy file name to clipboardExpand all lines: doc/deploy-microservice.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,17 +37,17 @@ TRANSPORT_TYPE=tcp
37
37
When using without Concorda Dashboard, the only way to configure Concorda is by using the env configuration file.
38
38
On `config/production.env` file you will find these variables:
39
39
40
-
* PUBLIC_REGISTER - allowed values "0"/"1" - disable/enable public user register. If public register is disabled ("0") then user register can be done only based on user invitation.
41
-
* PASSWORD_POLICY - this will define the password policy to be used to enforce stronger user passwords.
42
-
* requireLowercase - allowed values "0"/"1" - activate if lowercase characters are required in password
43
-
*requireUppercase - allowed values "0"/"1" - activate if uppercase characters are required in password
44
-
* requireNumeric - allowed values "0"/"1" - activate if numeric characters are required in password
45
-
* minLength - numeric value - minimum length for user passwords.
46
-
* AUTH_TYPE - this will define the allowed authentication types.
47
-
* google - allowed values "0"/"1" - disable/enable google login
* MAIL_TEMPLATE_FOLDER - absolute path to mail template folder. Example of mail templates can be found [here](https://github.com/Concorda/concorda/tree/master/lib/email-templates)
40
+
*`PUBLIC_REGISTER` - allowed values "0"/"1" - disable/enable public user register. If public register is disabled ("0") then user register can be done only based on user invitation.
41
+
*`PASSWORD_POLICY` - this will define the password policy to be used to enforce stronger user passwords.
42
+
*`requireLowercase` - allowed values "0"/"1" - activate if lowercase characters are required in password
43
+
*`requireUppercas` - allowed values "0"/"1" - activate if uppercase characters are required in password
44
+
*`requireNumeric` - allowed values "0"/"1" - activate if numeric characters are required in password
45
+
*`minLength` - numeric value - minimum length for user passwords.
46
+
*`AUTH_TYPE` - this will define the allowed authentication types.
47
+
*`google` - allowed values "0"/"1" - disable/enable google login
*`MAIL_TEMPLATE_FOLDER` - absolute path to mail template folder. Example of mail templates can be found [here](https://github.com/Concorda/concorda/tree/master/lib/email-templates)
Copy file name to clipboardExpand all lines: doc/deploy-plugin.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,11 @@ module.exports = function (options) {
25
25
26
26
seneca
27
27
.use(Concorda, {
28
-
.....options.....
28
+
appkey:'concorda',
29
+
auth: {
30
+
restrict:'/api',
31
+
password:process.env.COOKIE_PASSWORD||'some long password'
32
+
}
29
33
})
30
34
31
35
return {
@@ -40,17 +44,18 @@ module.exports = function (options) {
40
44
41
45
When using it as a Seneca plugin some options should be passed to control various features of Concorda.
42
46
43
-
* publicRegister - allowed values "0"/"1" - disable/enable public user register. If public register is disabled ("0") then user register can be done only based on user invitation.
44
-
* passwordPolicy - this will define the password policy to be used to enforce stronger user passwords.
45
-
* requireLowercase - allowed values "0"/"1" - activate if lowercase characters are required in password
46
-
* requireUppercase - allowed values "0"/"1" - activate if uppercase characters are required in password
47
-
* requireNumeric - allowed values "0"/"1" - activate if numeric characters are required in password
48
-
* minLength - numeric value - minimum length for user passwords.
49
-
* authType - this will define the allowed authentication types.
50
-
* google - allowed values "0"/"1" - disable/enable google login
* emailTemplateFolder - absolute path to mail template folder. Example of mail templates can be found [here](https://github.com/Concorda/concorda/tree/master/lib/email-templates)
47
+
*`appkey` - the application key - leave it with 'concorda' as this application is create by default in the DB. If you want another application key, plate create another application and set corresponding appkey here.
48
+
*`publicRegister` - allowed values "0"/"1" - disable/enable public user register. If public register is disabled ("0") then user register can be done only based on user invitation.
49
+
*`passwordPolicy` - this will define the password policy to be used to enforce stronger user passwords.
50
+
*`requireLowercase` - allowed values "0"/"1" - activate if lowercase characters are required in password
51
+
*`requireUppercase` - allowed values "0"/"1" - activate if uppercase characters are required in password
52
+
*`requireNumeric` - allowed values "0"/"1" - activate if numeric characters are required in password
53
+
*`minLength` - numeric value - minimum length for user passwords.
54
+
*`authType` - this will define the allowed authentication types.
55
+
*`google` - allowed values "0"/"1" - disable/enable google login
*`emailTemplateFolder` - absolute path to mail template folder. Example of mail templates can be found [here](https://github.com/Concorda/concorda/tree/master/lib/email-templates)
54
59
55
60
An example of default settings used internally be Concorda is:
0 commit comments