Skip to content

Commit

Permalink
Merge pull request #14 from JohnGrubba/dev
Browse files Browse the repository at this point in the history
Allow Testing Config
  • Loading branch information
JohnGrubba authored Jul 18, 2024
2 parents 76a6389 + d31da06 commit f10bab5
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!testing_config.json
57 changes: 57 additions & 0 deletions src/tools/testing_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"signup": {
"enable_conf_email": false,
"conf_code_expiry": 5,
"conf_code_complexity": 1,
"enable_welcome_email": false,
"oauth": {
"providers_enabled": [
"google"
],
"base_url": "http://localhost:3250/"
}
},
"email": {
"login_usr": "",
"login_pwd": "",
"sender_email": "",
"smtp_host": "",
"smtp_port": 465
},
"session": {
"session_expiry_seconds": 86400,
"max_session_count": 5,
"auto_cookie": true,
"auto_cookie_name": "session",
"cookie_samesite": "none",
"cookie_secure": true
},
"internal": {
"internal_api_key": "TEST_INTERNAL",
"internal_columns": [
"_id"
],
"not_updateable_columns": []
},
"account_features": {
"enable_reset_pswd": true,
"reset_pswd_conf_mail": false,
"2fa": {
"enable": true,
"issuer_name": "EZAuth",
"issuer_image_url": "",
"qr_endpoint": true
}
},
"security": {
"allow_origins": [
"*"
],
"allow_headers": [
"*"
],
"max_login_attempts": 5,
"login_timeout": 5,
"expire_unfinished_timeout": 60
}
}

0 comments on commit f10bab5

Please sign in to comment.