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?
332 views Asked by Ask At
1
There are 1 answers
Related Questions in ASP.NET
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- IIS Rewrite Module exclude bots but allow GoogleBot
- Angular 16 sending null values to API
- I am the domain admin, newbie, how do I connect youtube.com on my domain?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- ASP.NET Identity, Losing Ability to Login until Application Pool Recycles
- How to unprotect ASP.NET FormAuthentication cookie
- How does it work using ASP.NET FormAuthentication
- What is the purpose of a completely standalone 'this'?
- Is there a way to read .csproj PropertyGroup variable in c#
- MSBuild trying to copy different dll with similar name into project sporadically
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Azure AD guest account in web app authentication user claims data
- Receiving 400 bad request on post when customer auth handler is used
Related Questions in AUTH0
- Auth0 return status code 400 after on subsequent polls for request token
- Universal login page appearence changed after I integrated server part
- Using Auth0 and Prisma to capture user information
- User authentication + dynamic routing problems (Auth0 & next.js App Router)
- returning different flutter widget depending on whether user is logged in or not
- How to store secrets in a CLI application in Go?
- Auth0 Logout stopped working after angular update
- Playwright codegen: Getting site can't be reached when logging in to site using Auth0
- Auth0 Errors When Trying to Use it In Conjunction with Github Pages
- How do I deploy my app which uses auth0 with next js? It asks me to use generateStaticParams
- How to refactor common react code for a sign in redirect?
- Error 401 on Angular-NestJs page when refreshing token with Auth0
- auth0 by okta problem login in my db with laravel breeze error Invalid state
- How to do local front-end SPA development against an OIDC endpoint without localhost as a callback URL?
- Auth0 is causing my expo managed workflow EAS build to fail and I'm not sure why
Related Questions in AUTH0-DELEGATED-ADMIN
- OAuth Token permissions not listed in the access token scope
- HTTP Connector in Microsoft Power Automate - Login against Azure AD app registration on behalf of user not working
- Auth0: Add login_hint query param to redirect URL after password change
- working example of OnBehalfOfProfider for a daemon app calling MS Graph
- How to configure auth0 authentication/authorization without using Auth0 Universal login?
- After successful social sign in, i get ‘Open with ’ option in custom tabs
- How to get location_info (country name) in Auth0 User logs using management api?
- Is there any way to get user's language in auth0 rules?
- Authentication process with Auth0 moves the user away from our app and into another location
- auth0 User is not authorized to the audience for those scopes
- How to implement Auth0 in Unity Game Engine?
- connect ETIMEDOUT Node.js
- Is delegation deprecated in Auth0?
- "Missing grant-type parameter" in Auth0 Delegation endpoint call
- lucene query filter not working
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?
Popular Tags
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)
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.