I want to create a rule in auth0 that will add user’s language to user’s id token. So is there any way to achieve that? I can get country code and some other info from geoip but I can’t get language anywhere
Is there any way to get user's language in auth0 rules?
319 Views Asked by Ask At
1
There are 1 best solutions below
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
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 # Hahtags
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?
If you don't already have the langauge you could collect the user's language during the signup process by using the
additionalsignupfieldsoption in Lock to show a drop-down of languages. The user would then select an option during sign up and the selected value can be persisted inuser_metadata.Alternatively, you can customize your login page using JavaScript to detect the user's browser language, then auto-populate an
additionalsignupfieldin Lock with the value. We could even make this a hidden field if necessary.Once stored in
user_metadatawe can then add that to theid_tokensomething like: