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?
314 Views Asked by Ask At
1
There are 1 best solutions below
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?
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: