UserFactor does not give the flexibility to get a user's sms and phone number on record
See original GitHub issueDescribe the feature request?
I’m trying to get the SMS or Email factor value for a user and I’m not able to find a method to pull the profile which contains the registered phone number.
User oktauser = client.getUser(username); UserFactorList` factors = oktauser.listFactors();
//Listing MFA Factors available for the user for (UserFactor f : factors) { System.out.println("SMS Factor Phone: " + f); }
only the following methods are available: https://developer.okta.com/okta-sdk-java/apidocs/com/okta/sdk/resource/user/factor/UserFactor.html
New or Affected Resource(s)
None
Provide a documentation link
https://developer.okta.com/okta-sdk-java/apidocs/com/okta/sdk/resource/user/factor/UserFactor.html
Additional Information?
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Access Mobile number used in MFA to update profile Mobile ...
Hi Is it possible to use the Mobile number used in MFA enrolment for SMS to add this to the User Profile. I...
Read more >Use of SMS or Call Log permission groups - Play Console Help
If your app does not require access to Call Log or SMS permissions, you must remove these permissions from your app's manifest. Details...
Read more >How to Set Up SMS-Based Authentication for Microsoft 365 ...
Users must register at least one phone number as an authentication method before they can use SMS-based sign-in. If users already have a...
Read more >i'm not receiving the verification code sent to my mobile device
You are getting "Sorry, we're having trouble verifying your account" error message during sign-in. Microsoft may limit or block voice or SMS authentication...
Read more >Permission violation, but the manifest does not request SMS ...
Want to initiate a phone call? Don't use CALL_PHONE permission, use Dialer intent instead. Set phoneNumber and use ACTION_DIAL.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Solution provided by @arvindkrishnakumar-okta is working.
Thanks for the input. This is working now as per your recommendation. Are there any plans to make this less ambiguous?