Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure session after Registration via code in Console #340

Open
3 of 5 tasks
Benehiko opened this issue Sep 25, 2023 · 3 comments
Open
3 of 5 tasks

Configure session after Registration via code in Console #340

Benehiko opened this issue Sep 25, 2023 · 3 comments
Labels
feat New feature or request. package/console

Comments

@Benehiko
Copy link

Benehiko commented Sep 25, 2023

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

@Benehiko Benehiko added the feat New feature or request. label Sep 25, 2023
@aeneasr
Copy link
Member

aeneasr commented Oct 5, 2023

Is this still the case?

@Benehiko
Copy link
Author

Benehiko commented Oct 5, 2023

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

@QuentinLCS
Copy link

QuentinLCS commented Feb 13, 2024

Still the case, it works using CLI.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request. package/console
Projects
None yet
Development

No branches or pull requests

4 participants