boundless-pizza-62828
01/22/2024, 9:29 PMbase_url
, default_browser_return_url
and ui_url
with the right IP address in the ./contrib/quickstart/kratos/email-password/kratos.yml
file and docker compose file `quickstart.yml` it does not work and always redirect the request to 127.0.0.1.
How could I fix this problem
@magnificent-energy-493boundless-pizza-62828
01/25/2024, 7:15 PMwitty-holiday-65473
01/25/2024, 7:20 PMkratos.yml
? (specifically)boundless-pizza-62828
01/25/2024, 11:41 PMwitty-holiday-65473
01/25/2024, 11:43 PMboundless-pizza-62828
01/26/2024, 12:00 AMversion: v0.13.0
dsn: memory
serve:
public:
base_url: <http://10.2.143.26:4433/>
cors:
enabled: true
admin:
base_url: <http://kratos:4434/>
selfservice:
default_browser_return_url: <http://10.2.143.26:4455/>
allowed_return_urls:
- <http://10.2.143.26:4455>
methods:
password:
enabled: true
totp:
config:
issuer: Kratos
enabled: true
lookup_secret:
enabled: true
link:
enabled: true
code:
enabled: true
flows:
error:
ui_url: <http://10.2.143.26:4455/error>
settings:
ui_url: <http://10.2.143.26:4455/settings>
privileged_session_max_age: 15m
required_aal: highest_available
recovery:
enabled: true
ui_url: <http://10.2.143.26:4455/recovery>
use: code
verification:
enabled: true
ui_url: <http://10.2.143.26:4455/verification>
use: code
after:
default_browser_return_url: <http://10.2.143.26:4455/>
logout:
after:
default_browser_return_url: <http://10.2.143.26:4455/login>
login:
ui_url: <http://10.2.143.26:4455/login>
lifespan: 10m
registration:
lifespan: 10m
ui_url: <http://10.2.143.26:4455/registration>
after:
password:
hooks:
- hook: session
- hook: show_verification_ui
log:
level: debug
format: text
leak_sensitive_values: true
secrets:
cookie:
- PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
cipher:
- 32-LONG-SECRET-NOT-SECURE-AT-ALL
ciphers:
algorithm: xchacha20-poly1305
hashers:
algorithm: bcrypt
bcrypt:
cost: 8
identity:
default_schema_id: default
schemas:
- id: default
url: file:///etc/config/kratos/identity.schema.json
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
witty-holiday-65473
01/26/2024, 12:06 AMwitty-holiday-65473
01/26/2024, 12:06 AMboundless-pizza-62828
01/26/2024, 12:10 AMwitty-holiday-65473
01/26/2024, 12:10 AMboundless-pizza-62828
01/26/2024, 12:10 AMboundless-pizza-62828
01/26/2024, 12:11 AM{
"watch": [
"src"
],
"ext": "ts",
"exec": "ts-node ./src/index.ts",
"env": {
"CSRF_COOKIE_NAME": "ax-csrf-cookie",
"COOKIE_SECRET": "I_AM_VERY_SECRET",
"CSRF_COOKIE_SECRET": "I_AM_VERY_SECRET_TOO",
"DANGEROUSLY_DISABLE_SECURE_CSRF_COOKIES": "true",
"ORY_SDK_URL": "<http://localhost:4433>",
"KRATOS_PUBLIC_URL": "<http://localhost:4433>",
"KRATOS_ADMIN_URL": "<http://localhost:4434>"
}
}
boundless-pizza-62828
01/26/2024, 12:11 AMwitty-holiday-65473
01/26/2024, 12:11 AMwitty-holiday-65473
01/26/2024, 12:12 AMwitty-holiday-65473
01/26/2024, 12:12 AMwitty-holiday-65473
01/26/2024, 12:14 AMwitty-holiday-65473
01/26/2024, 12:15 AMwitty-holiday-65473
01/26/2024, 12:17 AM{
"watch": [
"src"
],
"ext": "ts",
"exec": "ts-node ./src/index.ts",
"env": {
"CSRF_COOKIE_NAME": "ax-csrf-cookie",
"COOKIE_SECRET": "I_AM_VERY_SECRET",
"CSRF_COOKIE_SECRET": "I_AM_VERY_SECRET_TOO",
"DANGEROUSLY_DISABLE_SECURE_CSRF_COOKIES": "true",
"KRATOS_PUBLIC_URL": "<http://10.2.143.26:4455/>"
}
}
boundless-pizza-62828
01/26/2024, 12:18 AMwitty-holiday-65473
01/26/2024, 12:18 AMwitty-holiday-65473
01/26/2024, 12:19 AMwitty-holiday-65473
01/26/2024, 12:19 AMboundless-pizza-62828
01/26/2024, 12:19 AMboundless-pizza-62828
01/26/2024, 12:31 AMboundless-pizza-62828
01/26/2024, 12:32 AMwitty-holiday-65473
01/26/2024, 12:32 AMwitty-holiday-65473
01/26/2024, 12:33 AMboundless-pizza-62828
01/26/2024, 12:38 AMboundless-pizza-62828
01/26/2024, 12:41 AMwitty-holiday-65473
01/26/2024, 9:14 AMssh -L 4455:127.0.0.1:4455 -L 4433:127.0.0.1:4433 -L 4436:127.0.0.1:4436 xyz@10.2.143.26
(mailslurper) since quickstart/dev/demo/whatever will run the mailslurper fake/loopback mailer.