diff options
author | vnugent <public@vaughnnugent.com> | 2023-09-15 12:09:17 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-09-15 12:09:17 -0400 |
commit | 5dfe3dc0db51624082d20a31767c5a6aa774749d (patch) | |
tree | 6d0aefa1be0d94e86711bcc2b51b897281412ddb /ci/config/Essentials.Accounts.json | |
parent | f2781825804039b5ca68466bec7054b8d9ccce5d (diff) |
ci pipeline for complete builds
Diffstat (limited to 'ci/config/Essentials.Accounts.json')
-rw-r--r-- | ci/config/Essentials.Accounts.json | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/ci/config/Essentials.Accounts.json b/ci/config/Essentials.Accounts.json new file mode 100644 index 0000000..cb2f9d5 --- /dev/null +++ b/ci/config/Essentials.Accounts.json @@ -0,0 +1,80 @@ +{ + "debug": false, + "setup_mode":true, + + //endpoints + + "login_endpoint": { + "path": "/account/login", + "failed_count_timeout_sec": 600, //10 minutes + "failed_count_max": 10 //10 failed attempts in 10 minutes + }, + + "keepalive_endpoint": { + "path": "/account/keepalive", + //Regen token every 15 mins along with cookies + "token_refresh_sec": 600 //15 minutes + }, + + "profile_endpoint": { + "path": "/account/profile" + }, + + "password_endpoint": { + "path": "/account/reset" + }, + + "mfa_endpoint": { + "path": "/account/mfa" + }, + + "logout_endpoint": { + "path": "/account/logout" + }, + + "pki_auth_endpoint": { + "path": "/account/pki", + "jwt_time_dif_sec": 30, + + "max_login_attempts": 10, + "failed_attempt_timeout_sec": 600, + + //Configures the PATCH method to update the user's stored key when logged in + "enable_key_update": true + }, + + //If mfa is defined, configures mfa enpoints and enables mfa logins + "mfa": { + "upgrade_expires_secs": 180, + "nonce_size": 64, + + //Defines totp specific arguments + "totp": { + "digits": 6, + "issuer": "localhost", + "period_secs": 30, + "algorithm": "sha1", + "secret_size": 32, + "window_size": 2 + } + }, + + //Defines the included account provider + "account_security": { + "login_cookie_name": "VNLogin", + "login_cookie_size": 64, + + //Path/domain for all security cookies + "cookie_domain": "", + "cookie_path": "/", + + "status_cookie_name": "li", + + "otp_header_name": "X-Web-Token", + "otp_time_diff_sec": 30, + "otp_key_size": 64, + + "pubkey_cookie_name": "client-id", + "pubkey_signing_key_size": 32 + } +}
\ No newline at end of file |