Repository navigation
User registration doesn't trigger email dispatch in courier? #2865
Replies: 2 comments 2 replies
|
I can't find any log of this kratos/selfservice/strategy/link/sender.go Line 101 in 772d596 SendVerificationLink is not called at all
|
1 reply
|
so how to solve this problem, thanks to tell me |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am running kratos on k8s, and I am trying to send the verification email after user's registration. I have the following config for
kratos.yamlAnd this is my
schema.json{ "$id": "https://schemas.ory.sh/presets/kratos/identity.email.schema.json", "title": "Person", "type": "object", "properties": { "traits": { "type": "object", "properties": { "email": { "type": "string", "format": "email", "title": "E-Mail", "ory.sh/kratos": { "credentials": { "password": { "identifier": true } }, "recovery": { "via": "email" }, "verification": { "via": "email" } }, "maxLength": 320 } }, "required": [ "email" ], "additionalProperties": false } } }After I tried a successful user registration flow, I can find the successful email dispatch log in kratos itself.
And the log of kratos-courier, which does not have any log related with sending email.
base ❯ kubectl logs statefulset/kratos-courier -n kratos {"audience":"application","file":"/go/pkg/mod/github.com/ory/x@v0.0.392/popx/migrator.go:138","func":"github.com/ory/x/popx.(*Migrator).UpTo.func1","level":"debug","msg":"Migration has not yet been applied, running migration.","service_name":"Ory Kratos","service_version":"v0.10.1","time":"2022-11-06T10:31:35Z","version":"20220512102703000000"} {"audience":"application","file":"/go/pkg/mod/github.com/ory/x@v0.0.392/logrusx/helper.go:118","func":"github.com/ory/x/logrusx.(*Logger).Logf","level":"debug","msg":"\u003e missing_indices","service_name":"Ory Kratos","service_version":"v0.10.1","time":"2022-11-06T10:31:35Z"} {"audience":"application","file":"/go/pkg/mod/github.com/ory/x@v0.0.392/logrusx/helper.go:118","func":"github.com/ory/x/logrusx.(*Logger).Logf","level":"debug","msg":"Successfully applied 619 migrations.","service_name":"Ory Kratos","service_version":"v0.10.1","time":"2022-11-06T10:31:35Z"} {"audience":"application","file":"/go/pkg/mod/github.com/ory/x@v0.0.392/logrusx/helper.go:118","func":"github.com/ory/x/logrusx.(*Logger).Logf","level":"debug","msg":"0.2900 seconds","service_name":"Ory Kratos","service_version":"v0.10.1","time":"2022-11-06T10:31:35Z"} {"audience":"application","file":"/project/cmd/courier/watch.go:89","func":"github.com/ory/kratos/cmd/courier.Watch","level":"info","msg":"Courier worker started.","service_name":"Ory Kratos","service_version":"v0.10.1","time":"2022-11-06T10:31:35Z"}Is there anything missing in my configuration?
All reactions