cold-scientist-93808
07/31/2024, 7:57 AMchilly-king-10285
07/31/2024, 7:58 AMchilly-king-10285
07/31/2024, 7:58 AMconfig.yml
file: yaml selfservice: flows: registration: after: password: hooks: - hook: session oidc: hooks: - hook: session # Always enable this for oidc flows or the user experience suffers significantly!
It's very important to add the "session" hook to the after oidc
registration hooks. Otherwise, your users need to use the login flow again to be able to get a session. For more details, you can refer to the [Ory documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration#successful-registration).cold-scientist-93808
07/31/2024, 7:59 AMchilly-king-10285
07/31/2024, 8:00 AMchilly-king-10285
07/31/2024, 8:00 AM