ory / network

Ory runs a global end-to-end security infrastructure for humans, robots, and servers. We build and use open source software.
Apache License 2.0
81 stars 6 forks source link

Configure session after Registration via code in Console #340

Open Benehiko opened 1 year ago

Benehiko commented 1 year ago

Preflight checklist

Ory Network Project

No response

Describe your problem

Enabling login/registration with the one-time code method won't enable the session hook after registration inside the console. It is also not clear what "sign in after registration" configures inside the console and if this only relates to the password method or other methods as well.

Describe your ideal solution

Configure the session hook after the registration via code method inside the console.

It is still possible to configure this value using the Ory CLI.

ory patch project <project-id> --replace '/services/identity/config/selfservice/flows/registration/after/code/hooks=[{"hook": "session"}]'

Add to docs

https://www.ory.sh/docs/identities/sign-in/actions#log-in-users-after-registration https://www.ory.sh/docs/kratos/passwordless/one-time-code

Workarounds or alternatives

None

Version

latest

Additional Context

No response

aeneasr commented 1 year ago

Is this still the case?

Benehiko commented 1 year ago

Yes, this is just a console change that needs to happen

QuentinLCS commented 9 months ago

Still the case, it works using CLI.

Thanks for your work, Ory is very easy to use otherwise