Skip to content

Commit

Permalink
fix: normalize code credentials and deprecate via parameter
Browse files Browse the repository at this point in the history
Before this, code credentials for passwordless and mfa login were incorrectly stored and normalized. This could cause issues where the system would not detect the user's phone number, and where SMS/email MFA would not properly work with the `highest_available` setting.

Breaking changes: Please note that the `via` parameter is deprecated when performing SMS 2FA. It will be removed in a future version. If the parameter is not included in the request, the user will see all their phone/email addresses from which to perform the flow.

Before upgrading, ensure that your identity schema has the appropriate code configuration when using the code method for passwordless or 2fa login.

If you are using the code method for 2FA login already, or you are using it for 1FA login but have not yet configured the code identifier, set `selfservice.methods.code.config.missing_credential_fallback_enabled` to `true` to prevent users from being locked out.
  • Loading branch information
aeneasr committed Aug 28, 2024
1 parent 123e807 commit c417b4a
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c417b4a

Please sign in to comment.