Device Flow: How to set device identifier during device flow

So I can successfully use Device Flow to request a device code, open a browser to authorize the device, and then get the Access Token and successfully call an endpoint. All working great. But what I’m having trouble specifying is the device identifier so that user management can revoke the refresh token for one device or another. No matter what I do, the identifier is always ‘RestSharp1061170’ (the dot net plugin I’m using to make the HTTPS calls is RestSharp, Version=106.11.7.0) I tried changing the user agent string on the HTTP client before calling the auth0 endpoint to get a device code, but it still shows up in the dashboard the same.

Help?

1 Like