
dse7i (dse7i) asked a question.
[OIE] how can you get the device id in the okta oidc claim?
We want to to log the device that is interacting with our service in our downstream logs.
How can we get the device ID uses in the session from the okta oidc claim?

Hi @dse7i (dse7i),
Thank you for posting on the Okta community page!
I have done some research regarding your inquiry and unfortunately I wasn't able to find a way in which you could get the device_id in the Okta OIDC claim, but I have managed to discover that you could get the device_id back if you send a refresh token to /introspect. (This would require an API call to be made)
My advice would be to also leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
------------------------------------------------------------------------------------------------------------------------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.