Auth0 Home Blog Docs

Unique identifier per user device inside JWT

I’d like include a unique identifier per user device in the JWT (e.g. ios/android app) installation and have it stay the same to even after being issued a new JTW using the refresh token.

Is this possible?

Hi @jamescammy,

Welcome to the Auth0 Community! I don’t think there is anything in Auth0 itself that would allow you to identify individual devices. You can store pretty much whatever you like in the user’s user_metadata and app_metadata, but I think you’d need to find some way of identifying individual devices yourself.

1 Like

That is correct. You will need to come up with your own system of identifying devices