github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/configx/stub/hydra/expected.json (about) 1 { 2 "cgroups": { 3 "v1": { 4 "auto_max_procs_enabled": false 5 } 6 }, 7 "dsn": "sqlite:///var/lib/sqlite/db.sqlite?_fk=true", 8 "log": { 9 "format": "text", 10 "leak_sensitive_values": false, 11 "level": "info" 12 }, 13 "oauth2": { 14 "expose_internal_errors": false, 15 "hashers": { 16 "bcrypt": { 17 "cost": 10 18 } 19 }, 20 "include_legacy_error_fields": false, 21 "session": { 22 "encrypt_at_rest": true 23 } 24 }, 25 "oidc": { 26 "subject_identifiers": { 27 "enabled": [ 28 "pairwise", 29 "public" 30 ], 31 "pairwise": { 32 "salt": "youReallyNeedToChangeThis" 33 } 34 } 35 }, 36 "secrets": { 37 "system": [ 38 "youReallyNeedToChangeThis" 39 ] 40 }, 41 "serve": { 42 "admin": { 43 "access_log": { 44 "disable_for_health": false 45 }, 46 "cors": { 47 "allow_credentials": true, 48 "allowed_headers": [ 49 "Authorization", 50 "Content-Type" 51 ], 52 "allowed_methods": [ 53 "POST", 54 "GET", 55 "PUT", 56 "PATCH", 57 "DELETE" 58 ], 59 "allowed_origins": [ 60 "*" 61 ], 62 "debug": false, 63 "enabled": false, 64 "exposed_headers": [ 65 "Content-Type" 66 ], 67 "max_age": 0, 68 "options_passthrough": false 69 }, 70 "host": "", 71 "port": 4445, 72 "socket": { 73 "group": "", 74 "mode": 493, 75 "owner": "" 76 } 77 }, 78 "cookies": { 79 "same_site_legacy_workaround": false, 80 "same_site_mode": "Lax" 81 }, 82 "public": { 83 "access_log": { 84 "disable_for_health": false 85 }, 86 "cors": { 87 "allow_credentials": true, 88 "allowed_headers": [ 89 "Authorization", 90 "Content-Type" 91 ], 92 "allowed_methods": [ 93 "POST", 94 "GET", 95 "PUT", 96 "PATCH", 97 "DELETE" 98 ], 99 "allowed_origins": [ 100 "*" 101 ], 102 "debug": false, 103 "enabled": false, 104 "exposed_headers": [ 105 "Content-Type" 106 ], 107 "max_age": 0, 108 "options_passthrough": false 109 }, 110 "host": "", 111 "port": 4444, 112 "socket": { 113 "group": "", 114 "mode": 493, 115 "owner": "" 116 } 117 } 118 }, 119 "strategies": { 120 "scope": "wildcard" 121 }, 122 "tracing": { 123 "provider": "jaeger", 124 "providers": { 125 "jaeger": { 126 "local_agent_address": "jaeger:6832", 127 "sampling": { 128 "server_url": "http://jaeger:5778/sampling", 129 "type": "const", 130 "value": 1 131 } 132 } 133 } 134 }, 135 "ttl": { 136 "access_token": "1h", 137 "auth_code": "10m", 138 "id_token": "1h", 139 "login_consent_request": "1h", 140 "refresh_token": "720h" 141 }, 142 "urls": { 143 "consent": "http://127.0.0.1:3000/consent", 144 "login": "http://127.0.0.1:3000/login", 145 "logout": "http://127.0.0.1:3000/logout", 146 "self": { 147 "issuer": "http://127.0.0.1:4444" 148 } 149 }, 150 "webfinger": { 151 "jwks": { 152 "broadcast_keys": [ 153 "hydra.openid.id-token" 154 ] 155 } 156 } 157 }