okta / okta-sdk-php

PHP SDK for the Okta API
Apache License 2.0
38 stars 71 forks source link

Custom TOTP not supported #137

Open JustoHermano opened 2 years ago

JustoHermano commented 2 years ago

If you enabled Custom totp and enroll a user in the custom totp when calling listFactors method an exception is throw and the factors are not returned by the sdk

$user->getFactors() ERROR:"Value 'token:hotp' is not part of the enum Okta\UserFactors\FactorType"

It looks like this factor type needs support added.

monde commented 2 years ago

Hi @JustoHermano, thanks for the report, I'll try to find someone to look at this.