Skip to content

Configure CanGenerateTwoFactorTokenAsync for default token providers #12762

Open
@arisliang

Description

@arisliang

I am trying to change PhoneNumberTokenProvider to not generate 2FA, but there seems to be no way to configure this currently in v2.1.

It would be good to be able to remove a token provider, so I could add a custom one back; or add option to override the 2FA generation flag for the default providers.

Alternatively I'm thinking to override the AddDefaultTokenProviders, which I'd rather not, because for my use, the rest of the default providers are fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-fewThis issue impacts only small number of customersarea-identityIncludes: Identity and providersenhancementThis issue represents an ask for new feature or an enhancement to an existing oneseverity-minorThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions