kind-receptionist-82950
03/27/2023, 2:05 PMbland-eye-99092
03/27/2023, 2:08 PMbland-eye-99092
03/27/2023, 2:14 PMsession
hook from the after
registration flow. Here are the steps to do that:
1. First, list all configured hooks for the after
registration method:
ory get identity-config {project_id} \
--format=jsonpath='selfservice.flows.registration.after'
2. Check the JSON output and identify the array index of the session
hook.
3. Remove the hook by passing the hook index in the command:
ory patch identity-config {project_id} \
--remove '/selfservice/flows/registration/after/hooks/{hook_index}'
Replace {project_id}
with your project ID and {hook_index}
with the index of the session
hook.
For more information, refer to the Ory documentation.kind-receptionist-82950
03/27/2023, 2:31 PMafter.passwords.hooks.hook:session
seems to work! 🙂