kratos icon indicating copy to clipboard operation
kratos copied to clipboard

Enable session action after verification

Open hugotiburtino opened this issue 1 year ago • 3 comments

Preflight checklist

Describe your problem

Currently, the session hook is only supported at the registration flow.

session | Signs in the user immediately after they create an account. | For use only with the after registration flow. To use it, you must define secrets for secret rotation.

Source: https://www.ory.sh/docs/kratos/hooks/configure-hooks#available-actions

Now, it's user friendly if, after clicking the verification link or entering the one time code, the user gets automatically logged in.

Describe your ideal solution

Support also the session action in the verification flow.

Workarounds or alternatives

Actually, it would be even better if the verification flow automatically worked that way, without need of configuration: one thing less to configure and be aware of, and users would be happier.

Version

0.11.1

Additional Context

No response

hugotiburtino avatar Mar 11 '23 11:03 hugotiburtino

I know I know "PRs are welcome". Well, give me some hints, maybe a similar PR, and I can give a try...

hugotiburtino avatar Mar 11 '23 11:03 hugotiburtino

This feature will be very helpful. Also I think we should consider adding the ability to modify identity during verification flow

vinay2897 avatar Feb 22 '24 07:02 vinay2897

hey, when can we get this, we need this standard workflow!

exsemt avatar Aug 13 '24 17:08 exsemt