02-12-2019 01:15 PM
There is an element “display_name” in the /preauth response. Is there any convention duo follows to send a display_name in the response? Can it ever be null or empty?
02-15-2019 07:38 AM
The display_name
is optional and is free text entered by the Duo admin or end user.
02-15-2019 08:18 AM
I am talking about display_name - not device name.
02-15-2019 08:34 AM
So am I, I just typed the wrong thing! Oops.
02-15-2019 09:28 AM
I do not find any option to set a display name. I do see an option to setup a device name. When i test the auth api, I find that the display name is in this format:
<device_type> (XXX-XXX-1234)
iOS (***-***-1234)
Is that something set by the admin optionally or it is built in the rest service itself?
02-15-2019 10:16 AM
In the UI it is the “Device Name”.
02-15-2019 10:27 AM
Can it be null by any chance?
02-19-2019 10:52 AM
@DuoKristina Can the field display_name be null by any means?
02-20-2019 10:17 AM
No, it can be blank but not NULL.
02-28-2019 09:24 AM
@DuoKristina, The “device name” in the UI, as you mentioned, is entered by the admin. If the admin does not enter anything, then it is blank. But, when i run the authapi, I am not getting back the device_name as display name as a part of the api response - I am getting the field display_name as mentioned in your auth api documentation. I am getting the device name (in admin sdk UI) as “name” from the auth api call.
What I want to understand is whether this field “display_name”, which is constructed by the duo auth api service itself, can ever be an empty string. Is it possible to clarify that in your api doc as well? I precisely want to know the format of this “display_name” field in your auth api and whether or not it can be empty.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide