Skip to content

[Authenticator] Autofill assumes SMS OTP on code input view #286

@mattcreaser

Description

@mattcreaser

Before creating a new issue, please confirm:

Which UI component?

Authenticator

Gradle script dependencies

// Put output below this line

Environment information

# Put output below this line


Please include any relevant guides or documentation you're referencing

No response

Describe the bug

When the user reaches the OTP code entry view (e.g. during MFA or when confirming account signup) the autofill value is always set to ContentType.SmsOtpCode. This works great if the OTP code was sent via SMS but no so much if it was sent via email.

Autofill value should only be set if the delivery medium for the code is SMS. For Email codes there is no autofill support.

Reproduction steps (if applicable)

No response

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line


Configuration File

No response

Additional information and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    authenticatorThis issue relates to the Authenticator componentbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions