In Auth0 console I can see last_ip
field for all my users, however when I make a request with id_token
to /tokeninfo
API the response JSON object doesn’t have last_ip
information. All of the other fields show up in the JSON (nickname, locale, email, picture, updated_at, app_metadata…).
Is there a way to get last_ip
value with a /tokeninfo
call?
The last_ip
field is not returned as part of the /tokeninfo
endpoint nor, if I recall correctly, as part of the /userinfo
endpoint.
However, you should be able to obtain that information if you have a client application suitable to call the Management API (see this docs page about how to obtain a Management API token). In this situation should be able to obtain that field.