Skip to content

How to override get_available_phone_methods() ? #233

@goetzk

Description

@goetzk

Hi,
I'm trying to add another (couple of) authentication sources and so I need to change get_available_phone_methods() allow items other than sms/phone/yubikey. I have already made django_otp Device model classes for my new sources added devices for each, testing in a python shell and minimal django they work and I'm now trying to figure out the upper layers - in this case, trying out two_factor.

If changing override get_available_phone_methods() turns out to be doable I'll investigate what changes are required to the UI code in order to expose the new devices for users to register their own.

thanks,
kk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions