green-jewelry-10349
02/21/2024, 5:55 AMcredentials.code.via has unknown value "sms"
. When I tried it on ory networks as well then also I got the same error.green-jewelry-10349
02/21/2024, 5:55 AM{
"$id": "<https://schemas.ory.sh/presets/kratos/quickstart/phone-password/identity.schema.json>",
"$schema": "<http://json-schema.org/draft-07/schema#>",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "E-mail",
"minLength": 3,
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
},
"code": {
"identifier": true,
"via": "email"
}
},
"verification": {
"via": "email"
}
}
},
"phone": {
"type": "string",
"format": "tel",
"title": "Phone number",
"minLength": 3,
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
},
"code": {
"identifier": true,
"via": "sms"
}
},
"verification": {
"via": "sms"
}
}
}
},
"required": [
"email",
"phone"
],
"additionalProperties": false
}
}
}
green-jewelry-10349
02/21/2024, 5:56 AMversion: v1.1.0
dsn: memory
serve:
public:
base_url: <http://127.0.0.1:4433/>
cors:
enabled: true
admin:
base_url: <http://kratos:4434/>
selfservice:
default_browser_return_url: <http://127.0.0.1:4455/>
allowed_return_urls:
- <http://127.0.0.1:4455>
methods:
password:
enabled: true
totp:
config:
issuer: Kratos
enabled: true
lookup_secret:
enabled: true
link:
enabled: true
code:
enabled: true
passwordless_login_fallback_enabled: true
passwordless_enabled: true
config:
lifespan: "1h"
flows:
error:
ui_url: <http://127.0.0.1:4455/error>
settings:
ui_url: <http://127.0.0.1:4455/settings>
privileged_session_max_age: 15m
required_aal: highest_available
recovery:
enabled: true
ui_url: <http://127.0.0.1:4455/recovery>
use: code
verification:
enabled: true
ui_url: <http://127.0.0.1:4455/verification>
use: code
after:
default_browser_return_url: <http://127.0.0.1:4455/>
logout:
after:
default_browser_return_url: <http://127.0.0.1:4455/login>
login:
ui_url: <http://127.0.0.1:4455/login>
lifespan: 10m
registration:
lifespan: 10m
ui_url: <http://127.0.0.1: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
cookies:
path: /
same_site: Lax
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>
sms:
enabled: true
from: Scogo
request_config:
url: <https://api.example.com/sms/send>
method: POST
body: <base64://ZnVuY3Rpb24oY3R4KSB7ClRvOiBjdHguUmVjaXBpZW50LApCb2R5OiBjdHguQm9>keSwKfQ==
feature_flags:
use_continue_with_transitions: true
green-jewelry-10349
02/21/2024, 5:58 AMsparse-afternoon-2627
02/23/2024, 10:28 PMsparse-afternoon-2627
02/23/2024, 10:32 PMgreen-jewelry-10349
02/27/2024, 1:08 AM