<@U04UQ68083H> Can I prevent users from switching ...
# ory-copilot
f
@chilly-king-10285 Can I prevent users from switching from the OIDC method to the password method and vice-versa?
b
A message from kapa.ai
Based on the provided knowledge sources, there isn't specific information about preventing users from switching between OIDC and password authentication methods. However, I can provide some relevant information about configuring authentication methods in Ory: 1. Ory allows you to enable or disable different authentication methods in the configuration. You can control which methods are available for login and registration [Docs: Username Email Password](https://www.ory.sh/docs/kratos/concepts/credentials/username-email-password). 2. For login flows, you can configure which authentication methods are enabled. This is done either through the Ory Console or using the Ory CLI [Docs: Login and Registration Webhooks and Actions](https://www.ory.sh/docs/identities/sign-in/actions). 3. Ory supports automatic account linking, which allows users to link social sign-in accounts to existing password-based accounts [Docs: Automatic Account Linking](https://www.ory.sh/docs/kratos/social-signin/link-multiple-provider-account#automatic-account-linking). However, the knowledge sources don't provide explicit information on preventing users from switching between OIDC and password methods once they're set up. If you need more specific control over this behavior, you might need to reach out to Ory support or check their more detailed documentation.