Does Okta provide any util/JS to create device token? Skip to main content
https://support.okta.com/help/answers?id=906f0000000i02tias&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Dheeraj GuptaDheeraj Gupta 

Does Okta provide any util/JS to create device token?

How do we create device token to pass to authentication API?
Raja NejemRaja Nejem (Okta, Inc.)
You can go to Developer.okta.com for a detailed list of our API commands.

For the API token itself, you can go to the Okta admin portal > Security > API and create a token.
Dheeraj GuptaDheeraj Gupta
I was asking about the device token for device based MFA.
Raja NejemRaja Nejem (Okta, Inc.)
Instructions on how to set up MFA:
https://support.okta.com/help/articles/Knowledge_Article/27315047-Configuring-Multifactor-Authentication
 
Dheeraj GuptaDheeraj Gupta
I was asking about below API call. How do I create a device token to pass in context MAP so that Okta will know if it is same device or different? Does Okta provide any utility to capture user's device token?

public AuthResult authenticate(String username, String password, String relayState, String responseType, boolean forceMFA, Map<String, String> context) throws IOException {
 
Balamurali SanthakumarBalamurali Santhakumar
Raja - do we have this utlity avaialble???