|
| 1 | +version: v0.13.0 |
| 2 | + |
| 3 | +dsn: memory |
| 4 | + |
| 5 | +session: |
| 6 | + cookie: |
| 7 | + name: ory_kratos_session |
| 8 | + |
| 9 | +serve: |
| 10 | + public: |
| 11 | + base_url: http://localhost:4433/ |
| 12 | + cors: |
| 13 | + enabled: true |
| 14 | + admin: |
| 15 | + base_url: http://localhost:4434/ |
| 16 | + |
| 17 | +selfservice: |
| 18 | + default_browser_return_url: http://localhost:3000/ |
| 19 | + allowed_return_urls: |
| 20 | + - http://localhost:3000 |
| 21 | + methods: |
| 22 | + password: |
| 23 | + enabled: true |
| 24 | + totp: |
| 25 | + config: |
| 26 | + issuer: Kratos |
| 27 | + enabled: true |
| 28 | + lookup_secret: |
| 29 | + enabled: true |
| 30 | + link: |
| 31 | + enabled: true |
| 32 | + code: |
| 33 | + enabled: true |
| 34 | + passkey: |
| 35 | + enabled: true |
| 36 | + config: |
| 37 | + rp: |
| 38 | + # This MUST be your root domain (not a subdomain) |
| 39 | + id: localhost:3000 |
| 40 | + # This MUST be the exact URL of the page which will prompt for WebAuthn! |
| 41 | + # Only the scheme (https / http), host (auth.example.org), and port (4455) are relevant. The |
| 42 | + # path is irrelevant. |
| 43 | + origins: |
| 44 | + - http://localhost:3000 |
| 45 | + # A display name which will be shown to the user on her/his device. |
| 46 | + display_name: DevGuard |
| 47 | + flows: |
| 48 | + error: |
| 49 | + ui_url: http://localhost:3000/error |
| 50 | + |
| 51 | + settings: |
| 52 | + ui_url: http://localhost:3000/user-settings |
| 53 | + privileged_session_max_age: 15m |
| 54 | + required_aal: highest_available |
| 55 | + |
| 56 | + recovery: |
| 57 | + enabled: true |
| 58 | + ui_url: http://localhost:3000/recovery |
| 59 | + use: code |
| 60 | + |
| 61 | + verification: |
| 62 | + enabled: true |
| 63 | + ui_url: http://localhost:3000/verification |
| 64 | + use: code |
| 65 | + after: |
| 66 | + default_browser_return_url: http://localhost:3000/ |
| 67 | + |
| 68 | + logout: |
| 69 | + after: |
| 70 | + default_browser_return_url: http://localhost:3000/login |
| 71 | + |
| 72 | + login: |
| 73 | + ui_url: http://localhost:3000/login |
| 74 | + lifespan: 10m |
| 75 | + |
| 76 | + registration: |
| 77 | + lifespan: 10m |
| 78 | + ui_url: http://localhost:3000/registration |
| 79 | + after: |
| 80 | + password: |
| 81 | + hooks: |
| 82 | + - hook: session |
| 83 | + |
| 84 | +log: |
| 85 | + level: debug |
| 86 | + format: text |
| 87 | + leak_sensitive_values: true |
| 88 | + |
| 89 | +secrets: |
| 90 | + cookie: |
| 91 | + - PLEASE-CHANGE-ME-I-AM-VERY-INSECURE |
| 92 | + cipher: |
| 93 | + - 32-LONG-SECRET-NOT-SECURE-AT-ALL |
| 94 | + |
| 95 | +ciphers: |
| 96 | + algorithm: xchacha20-poly1305 |
| 97 | + |
| 98 | +hashers: |
| 99 | + algorithm: bcrypt |
| 100 | + bcrypt: |
| 101 | + cost: 8 |
| 102 | + |
| 103 | +identity: |
| 104 | + default_schema_id: default |
| 105 | + schemas: |
| 106 | + - id: default |
| 107 | + url: file:///etc/config/kratos/identity.schema.json |
| 108 | + |
| 109 | +courier: |
| 110 | + smtp: |
| 111 | + connection_uri: smtps://test:test@mailslurper:1025/?skip_ssl_verify=true |
| 112 | + from_address: noreply@devguard.org |
| 113 | + from_name: DevGuard |
0 commit comments