Is there a way to resend verification email?
# talk-kratos
s
Is there a way to resend verification email?
s
You can do this through the self-service API: • initiate a verification flow either for browser or an native app (e.g. if using curl) - https://www.ory.sh/docs/kratos/reference/api#tag/frontend/operation/createNativeVerificationFlow • complete the verification flow - https://www.ory.sh/docs/kratos/reference/api#tag/frontend/operation/updateVerificationFlow
s
I tried that, the problem is it doesn't send an email when I create the flow. This is my kratos config:
self-service:                                   verification:
enabled: true
ui_url: <http://localhostcom:5555/verification>
use: link
methods:
link:
enabled: true
config:
lifespan: 15m
b
Did you start the Kratos courier? E.g. by using
--watch-courier
when you start the process or by starting the courier in it’s own process?
s
No, didn't do that, can you share a link please
s
thank you, I will check it out, hopefully it helps
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
I got this for courier setup
i get verification email on signup
when i try to create new verification flow this is what happens in the DB
b
yes, you need to provide an email to the flow
s
how, I am checking the doc and there is no query parameter for email
i see only return to
b
https://www.ory.sh/docs/reference/api#tag/frontend/operation/updateVerificationFlow 1. create a verification flow 2. update the created verification flow with an email
s
.... I get it now, thank you, I will try it out