I am using c# app and fetching user logs from auth0 management api v2 using "/api/v2/logs?q=". The logs contains lot of information but I can't find country name(from where the user login) in the logs. I can see location_info property in official docs https://auth0.com/docs/api/management/v2#!/Logs/get_logs but I am not sure how to use it. Do I need to send any query param like "q=location_info=true" something like this or is there any other way?
How to get location_info (country name) in Auth0 User logs using management api?
327 Views Asked by Ask At
1
There are 1 best solutions below
Related Questions in ASP.NET
- Create an IIS web request activity light
- Writing/Overwriting to specific XML file from ASP.NET code behind
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- Entity Framework Code First with Fluent API Concurrency `DbUpdateConcurrencyException` Not Raising
- Getting deeply embedded XML element values
- What is best way to check if any of the property of object is null or empty?
- NuGet - Given a type name or a DLL, how can I find the NuGet package?
- ASP-MVC Code-first migrations checkbox not active
- How do i add onclient click to my jquery button
- Jquery: Change contents of <select> tag dynamically
- Retrieving data from Oracle database
- ASP.NET: Fill Textbox field upon dropdownlist selection by user
- Why web API return 404 when deploy to IIS
Related Questions in AUTH0
- Configuring MVC app using Auth0 for ClaimsIdentity and nameidentifier error msgs
- Single Sign out in All application using Auth0
- Auth0 Lock - Google oauth2 unable to get refresh_token
- When renewing id_token via refresh_token in Auth0, jti (JWT ID) not in new id_token
- Using Auth0.WinformsWPF, how do I obtain and use a refresh token?
- How to call Management API v2 to send verification mail from within a rule?
- Auth0 Authentication for .Net Core Web API
- How to show Auth0 Lock in an inline page container when using Angular?
- How to translate all messages in the Auth0 Wordpress plugin?
- How can I supply federated users with an aws access key id/secret?
- How can i mock auth0 authentication for testing?
- a better pattern for authenticated React components and routes
- angular 2 with auth0 to read all user- error Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin'
- There is a way to load Webpack modules with SystemJS?
- How to bypass sending email in Auth0 change password flow with old password confirmation?
Related Questions in AUTH0-DELEGATED-ADMIN
- working example of OnBehalfOfProfider for a daemon app calling MS Graph
- getting 403 disallowed user agent in Auth0 Lock for Android
- Is there any way to get user's language in auth0 rules?
- How to get location_info (country name) in Auth0 User logs using management api?
- profile object from auth0 is empty until the page is loaded
- How do you solve Auth0's URL Mismatch error
- Auth0 Delegated Administration Extension
- Auth0 Additional properties not allowed: memberships
- Authentication process with Auth0 moves the user away from our app and into another location
- OAuth Token permissions not listed in the access token scope
- Error: Bad Audience while making Auth0 /user/user_id api call
- How to configure auth0 authentication/authorization without using Auth0 Universal login?
- After successful social sign in, i get ‘Open with ’ option in custom tabs
- lucene query filter not working
- "Missing grant-type parameter" in Auth0 Delegation endpoint call
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Ok, so I found the answer. Actually it was a silly mistake that was blocking location_info in the response. I was calling this url "/api/v2/logs?q=userId:{user_id}" which returns dashboard logs. Instead I needed only user logs that can be seen in user's profile in Auth0. For that I needed to hit this url "/api/v2/users/{user_id}/logs". Once I hit this url I got location_info (country name, country code, city name etc) object in response.