<@U04UQ68083H> After OIDC registration, I'm still ...
# ory-copilot
b
@chilly-king-10285 After OIDC registration, I'm still getting the verification code emailed, despite "Show verification screen after OIDC registration" being disabled.
c
A message from kapa.ai
Based on the information provided in the extracts, there isn't a direct mention of how to disable the verification code email specifically after OIDC registration if "Show verification screen after OIDC registration" is disabled. However, I can guide you through a general approach to managing email verification settings in Ory, which might help you troubleshoot the issue. To manage email verification settings, including potentially disabling the verification code email after OIDC registration, you would typically use the Ory Console or the Ory CLI. Here's a general approach based on the extracts: 1. Ory Console: You can navigate to the Ory Console and adjust settings related to email verification. While the extracts don't provide a direct solution to your issue, you can look for settings related to OIDC registration and email verification. The relevant section in the Ory Console would likely be under Email Verification. You can access it by going to [Ory Console → Email Verification](https://console.ory.sh/projects/current/verification). 2. Ory CLI: If you prefer using the command line, you can modify the identity configuration using the Ory CLI. Again, while the extracts don't offer a specific command for your issue, you can use the Ory CLI to patch or update your project's configuration. Here's a general example of how to patch the identity configuration, which you might adapt to your needs:
Copy code
bash    ory patch identity-config {project_id} \     --add '/selfservice/flows/registration/after/password/hooks=[{"hook": "show_verification_ui"}]' \     --add '/selfservice/flows/registration/after/oidc/hooks=[{"hook": "show_verification_ui"}]' \     --add '/selfservice/flows/registration/after/webauthn/hooks=[{"hook": "show_verification_ui"}]'
This example shows how to add hooks to show the verification UI after registration. You would need to look for a similar setting that controls the sending of the verification code email after OIDC registration. If you're unable to find the specific setting to disable the verification code email after OIDC registration in the Ory Console or through the Ory CLI, I recommend consulting the [Ory documentation](https://www.ory.sh/docs/) for more detailed information on email verification settings and OIDC registration. The documentation might have updates or more specific instructions on how to achieve your goal.