Guest User

Untitled

a guest
Mar 6th, 2022
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. version: v0.7.1-alpha.1
  2.  
  3. dsn: memory
  4.  
  5. serve:
  6. public:
  7. base_url: https://public.auth.***.io/
  8. tls:
  9. cert:
  10. path: /etc/config/kratos/ssl/public/fullchain.pem
  11. key:
  12. path: /etc/config/kratos/ssl/public/privkey.pem
  13. domain_aliases:
  14. - match_domain: ***
  15. base_path: /
  16. scheme: http
  17. cors:
  18. enabled: true
  19. allowed_origins:
  20. - http://47.155.196.43
  21. - http://localhost
  22. - http://localhost:49909
  23. allowed_methods:
  24. - POST
  25. - GET
  26. - PUT
  27. - PATCH
  28. - DELETE
  29. allowed_headers:
  30. - Authorization
  31. - Cookie
  32. - Content-Type
  33. - Set-Cookie
  34. exposed_headers:
  35. - Content-Type
  36. - Set-Cookie
  37. admin:
  38. tls:
  39. cert:
  40. path: /etc/config/kratos/ssl/public/fullchain.pem
  41. key:
  42. path: /etc/config/kratos/ssl/public/privkey.pem
  43. base_url: https://admin.auth.xesty.io/
  44.  
  45. selfservice:
  46. default_browser_return_url: https://self-service.auth.***.io/
  47. whitelisted_return_urls:
  48. - https://self-service.auth.***.io
  49.  
  50. methods:
  51. password:
  52. enabled: true
  53.  
  54. flows:
  55. error:
  56. ui_url: https://self-service.auth.***.io/error
  57.  
  58. settings:
  59. ui_url: https://self-service.auth.***.io/settings
  60. privileged_session_max_age: 15m
  61.  
  62. recovery:
  63. enabled: true
  64. ui_url: https://self-service.auth.***.io/recovery
  65.  
  66. verification:
  67. enabled: true
  68. ui_url: https://self-service.auth.***.io/verify
  69. after:
  70. default_browser_return_url: https://self-service.auth.***.io/
  71.  
  72. logout:
  73. after:
  74. default_browser_return_url: https://self-service.auth.***.io/login
  75.  
  76. login:
  77. ui_url: https://self-service.auth.***.io/login
  78. lifespan: 10m
  79.  
  80. registration:
  81. lifespan: 10m
  82. ui_url: https://self-service.auth.***.io/registration
  83. after:
  84. password:
  85. hooks:
  86. -
  87. hook: session
  88.  
  89. log:
  90. level: debug
  91. format: text
  92. leak_sensitive_values: true
  93.  
  94. secrets:
  95. cookie:
  96. - PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
  97. cipher:
  98. - 32-LONG-SECRET-NOT-SECURE-AT-ALL
  99.  
  100. cookies:
  101. domain: ***.io
  102. path: /
  103. same_site: None
  104.  
  105. session:
  106. cookie:
  107. domain: ***.io
  108. path: /
  109. same_site: None
  110.  
  111. ciphers:
  112. algorithm: xchacha20-poly1305
  113.  
  114. hashers:
  115. argon2:
  116. parallelism: 1
  117. memory: 128MB
  118. iterations: 2
  119. salt_length: 16
  120. key_length: 16
  121.  
  122. identity:
  123. default_schema_url: file:///etc/config/kratos/identity.schema.json
  124.  
  125. courier:
  126. smtp:
  127. from_address: no-reply@mail.***.co
  128. connection_uri: smtps://postmaster@mail.***.co:***@smtp.mailgun.org:465/?skip_ssl_verify=true
  129. sms:
  130. from: '+***'
  131. request_config:
  132. url: https://api.twilio.com/2010-04-01/Accounts/***/Messages.json
  133. method: POST
  134. header:
  135. 'Content-Type': 'application/x-www-form-urlencoded'
  136. auth:
  137. type: basic_auth
  138. config:
  139. user: ***
  140. password: ***
  141. enabled: true
Advertisement
Add Comment
Please, Sign In to add comment