github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/configx/stub/multi/expected.json (about) 1 { 2 "courier": { 3 "smtp": { 4 "connection_uri": "smtps://test:test@mailslurper:1025/?skip_ssl_verify=true", 5 "from_address": "no-reply@ory.kratos.sh" 6 } 7 }, 8 "dsn": "sqlite:///var/lib/sqlite/db.sqlite?_fk=true", 9 "hashers": { 10 "argon2": { 11 "iterations": 2, 12 "key_length": 16, 13 "memory": 131072, 14 "parallelism": 1, 15 "salt_length": 16 16 } 17 }, 18 "identity": { 19 "default_schema_url": "file:///etc/config/kratos/identity.schema.json" 20 }, 21 "log": { 22 "format": "text", 23 "leak_sensitive_values": true, 24 "level": "debug" 25 }, 26 "secrets": { 27 "cookie": [ 28 "PLEASE-CHANGE-ME-I-AM-VERY-INSECURE" 29 ] 30 }, 31 "selfservice": { 32 "default_browser_return_url": "http://127.0.0.1:4455/", 33 "flows": { 34 "error": { 35 "ui_url": "http://127.0.0.1:4455/error" 36 }, 37 "login": { 38 "lifespan": "10m", 39 "ui_url": "http://127.0.0.1:4455/auth/login" 40 }, 41 "logout": { 42 "after": { 43 "default_browser_return_url": "http://127.0.0.1:4455/auth/login" 44 } 45 }, 46 "recovery": { 47 "enabled": true, 48 "lifespan": "1h", 49 "ui_url": "http://127.0.0.1:4455/recovery" 50 }, 51 "registration": { 52 "after": { 53 "password": { 54 "hooks": [ 55 { 56 "hook": "session" 57 } 58 ] 59 } 60 }, 61 "lifespan": "10m", 62 "ui_url": "http://127.0.0.1:4455/auth/registration" 63 }, 64 "settings": { 65 "lifespan": "1h", 66 "privileged_session_max_age": "15m", 67 "ui_url": "http://127.0.0.1:4455/settings" 68 }, 69 "verification": { 70 "after": { 71 "default_browser_return_url": "http://127.0.0.1:4455/" 72 }, 73 "enabled": true, 74 "lifespan": "1h", 75 "ui_url": "http://127.0.0.1:4455/verify" 76 } 77 }, 78 "methods": { 79 "link": { 80 "enabled": true 81 }, 82 "oidc": { 83 "enabled": false 84 }, 85 "password": { 86 "enabled": true 87 }, 88 "profile": { 89 "enabled": true 90 } 91 }, 92 "whitelisted_return_urls": [ 93 "http://127.0.0.1:4455" 94 ] 95 }, 96 "serve": { 97 "admin": { 98 "base_url": "http://kratos:4434/", 99 "host": "0.0.0.0", 100 "port": 4434 101 }, 102 "public": { 103 "base_url": "http://127.0.0.1:4433/", 104 "cors": { 105 "allow_credentials": true, 106 "allowed_headers": [ 107 "Authorization", 108 "Content-Type", 109 "X-Session-Token" 110 ], 111 "allowed_methods": [ 112 "POST", 113 "GET", 114 "PUT", 115 "PATCH", 116 "DELETE" 117 ], 118 "allowed_origins": [ 119 "*" 120 ], 121 "debug": false, 122 "enabled": true, 123 "exposed_headers": [ 124 "Content-Type" 125 ], 126 "max_age": 0, 127 "options_passthrough": false 128 }, 129 "host": "0.0.0.0", 130 "port": 4433 131 } 132 }, 133 "session": { 134 "cookie": { 135 "path": "/", 136 "persistent": true, 137 "same_site": "Lax" 138 }, 139 "lifespan": "24h" 140 }, 141 "version": "v0.5.3-alpha.1" 142 }