Open techsmyth opened 2 months ago
I am not sure why this is using the bug template, given there was already a story about it in the past and it was never supported natively by Ory Kratos. Session
hook is not supported after verification (still unsupported in v1.2). We can try using a web hook and work it around. Web hook is supported in the schema, e.g.:
verification:
enabled: true
ui_url: http://localhost:3000/verify
after:
default_browser_return_url: http://localhost:3000/login
hooks:
- hook: web_hook
config:
url: https://your-service.example.com/verification-complete
method: POST
body:
It will be some custom work thou, it is not coming out-of-the-box.
@valentinyanakiev agreed not a bug, it was that I copied another issue + the label came with it. Might be still worth doing this work as it is a real disconnect in the login flow at the moment, and taking away even one step would be a big deal. @SimoneZaza
Describe the bug The flow at the moment is that after the user verifies their email address they have to back and login. That should be done automatically.
To Reproduce Steps to reproduce the behavior:
Expected behavior User is logged in after verifying email address.