# \#app\_metadata

**URL:** https://community.auth0.com/tag/app-metadata/183.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Only sign up user if own backend allows it and send (sub, email, username)](https://community.auth0.com/t/only-sign-up-user-if-own-backend-allows-it-and-send-sub-email-username/85960)

<div class="topic-metadata">

**Author:** [@amg1](https://community.auth0.com/u/amg1)\
**Replies:** 1\
**Last updated:** [November 21, 2024, 10:52pm UTC](https://community.auth0.com/t/only-sign-up-user-if-own-backend-allows-it-and-send-sub-email-username/85960 "2024-11-21T22:52:53Z")

</div>

Hey I got some questions regarding my usecase: I want to gather data (auth0\_sub, email, username) and send it to my backend to create a user with said fields. I then send back the associated internalId from my backend a…

---

## [Allow user bulk updates from Management APIS](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141)

<div class="topic-metadata">

**Author:** [@chuck](https://community.auth0.com/u/chuck)\
**Replies:** 8\
**Last updated:** [March 1, 2024, 5:30pm UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141 "2024-03-01T17:30:34Z")

</div>

Feature: Allow user bulk updates from Management APIS Description: As a Management API client, I can perform mass updates on multiple user IDs, e.g. // user 1 metadata { "locations": \["TX","CA","CO","IA"\] } // use…

---

## [Need accessToken in Action to make additional Social calls to set app\_metadata?](https://community.auth0.com/t/need-accesstoken-in-action-to-make-additional-social-calls-to-set-app-metadata/97704)

<div class="topic-metadata">

**Author:** [@2vYEjLFtkUPpbDR](https://community.auth0.com/u/2vYEjLFtkUPpbDR)\
**Replies:** 5\
**Last updated:** [January 23, 2023, 6:54pm UTC](https://community.auth0.com/t/need-accesstoken-in-action-to-make-additional-social-calls-to-set-app-metadata/97704 "2023-01-23T18:54:10Z")

</div>

Hello! Please help me figure out the process I should be following. I have created a Custom Social Connection for Twitch API as I needed additional scope that Auth0’s integration doesn’t have (it only has two very basic…

---

## [Authenticate third-party apps](https://community.auth0.com/t/authenticate-third-party-apps/90508)

<div class="topic-metadata">

**Author:** [@kvirk](https://community.auth0.com/u/kvirk)\
**Replies:** 6\
**Last updated:** [October 1, 2022, 12:51am UTC](https://community.auth0.com/t/authenticate-third-party-apps/90508 "2022-10-01T00:51:00Z")

</div>

Hi, I am pretty much new to Auth0. I am building an API in nest.js that is secured by Auth0. So if a user has a valid access token, it can access the API. I need to expose the API to third-party applications, which wil…

---

## [Pre registration Action does not add metadata](https://community.auth0.com/t/pre-registration-action-does-not-add-metadata/81075)

<div class="topic-metadata">

**Author:** [@lonli.lokli](https://community.auth0.com/u/lonli.lokli)\
**Replies:** 4\
**Last updated:** [April 7, 2022, 3:24pm UTC](https://community.auth0.com/t/pre-registration-action-does-not-add-metadata/81075 "2022-04-07T15:24:26Z")

</div>

Can you please explain is my code right? It do not add default role (id in secrets) exports.onExecutePreUserRegistration = async (event, api) =\> { try { api.user.setUserMetadata("role", event.secrets.defaultRole…

---

## [Saving custom claims to app\_metadata](https://community.auth0.com/t/saving-custom-claims-to-app-metadata/81066)

<div class="topic-metadata">

**Author:** [@borja.roux](https://community.auth0.com/u/borja.roux)\
**Replies:** 2\
**Last updated:** [April 4, 2022, 7:09pm UTC](https://community.auth0.com/t/saving-custom-claims-to-app-metadata/81066 "2022-04-04T19:09:38Z")

</div>

I have created an enterprise connection to allow users to authenticate on a third-party OIDC IDP. This IDP generates identity tokens with custom claims. I need to store those claims in the user’s app\_metadata at each log…

---

## [Can we retrieve every user having a field in app\_metadata?](https://community.auth0.com/t/can-we-retrieve-every-user-having-a-field-in-app-metadata/80780)

<div class="topic-metadata">

**Author:** [@Breigner01](https://community.auth0.com/u/Breigner01)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 3:17pm UTC](https://community.auth0.com/t/can-we-retrieve-every-user-having-a-field-in-app-metadata/80780 "2022-03-30T15:17:03Z")

</div>

Hi, So basically we thought of using permissions but since we’ll have a lot of permissions (over the limit that auth0 has) so we can’t use it. The other solution would be to use the app\_metadata field. So is there a w…

---

## [Where are the post user registration hooks originated from? (CORS issue)](https://community.auth0.com/t/where-are-the-post-user-registration-hooks-originated-from-cors-issue/68630)

<div class="topic-metadata">

**Author:** [@anil.bunarci](https://community.auth0.com/u/anil.bunarci)\
**Replies:** 1\
**Last updated:** [August 30, 2021, 9:02pm UTC](https://community.auth0.com/t/where-are-the-post-user-registration-hooks-originated-from-cors-issue/68630 "2021-08-30T21:02:00Z")

</div>

Hi all, I’m trying to create a new record in the DB after a user registered to the app, and pass some data from that record to app\_metadata. To do that, I created a Post User Registration Hook and configured it to send…

---

## [Django Auth0 Read user\_metadata](https://community.auth0.com/t/django-auth0-read-user-metadata/67976)

<div class="topic-metadata">

**Author:** [@uripre](https://community.auth0.com/u/uripre)\
**Replies:** 5\
**Last updated:** [August 17, 2021, 9:42am UTC](https://community.auth0.com/t/django-auth0-read-user-metadata/67976 "2021-08-17T09:42:39Z")

</div>

After following auth0’s quick start, I can’t seem to find a way to access the logged-in user’s “user\_metadata” in django. Anyone else tried to achieve this with django and can share how? I followed the following quick s…

---

## [Silent Auth errors with Login Required after updating app\_metadata via Management API](https://community.auth0.com/t/silent-auth-errors-with-login-required-after-updating-app-metadata-via-management-api/65834)

<div class="topic-metadata">

**Author:** [@spatail](https://community.auth0.com/u/spatail)\
**Replies:** 4\
**Last updated:** [July 23, 2021, 6:55pm UTC](https://community.auth0.com/t/silent-auth-errors-with-login-required-after-updating-app-metadata-via-management-api/65834 "2021-07-23T18:55:23Z")

</div>

Hello, I am trying to understand why calling getAccessTokenSilently redirects me back to the login page after I update my user’s app\_metadata via the Management API. Here’s my setup: I have two applications: 1) an SP…

---

## [Rule Not Updating my app\_metadata but in debug it works](https://community.auth0.com/t/rule-not-updating-my-app-metadata-but-in-debug-it-works/60009)

<div class="topic-metadata">

**Author:** [@oflores2313](https://community.auth0.com/u/oflores2313)\
**Replies:** 6\
**Last updated:** [March 30, 2021, 12:33pm UTC](https://community.auth0.com/t/rule-not-updating-my-app-metadata-but-in-debug-it-works/60009 "2021-03-30T12:33:19Z")

</div>

I have a rule in place that calls an external public api and returns data if the email exists. based on that data i set : user.app\_metadata.roles = userData; user.app\_metadata.companyId = userCompany; when i debug it …

---

## [Access Client application meta data in custom login page](https://community.auth0.com/t/access-client-application-meta-data-in-custom-login-page/52433)

<div class="topic-metadata">

**Author:** [@auth0auth](https://community.auth0.com/u/auth0auth)\
**Replies:** 2\
**Last updated:** [November 16, 2020, 11:39pm UTC](https://community.auth0.com/t/access-client-application-meta-data-in-custom-login-page/52433 "2020-11-16T23:39:31Z")

</div>

Is it possible to access Auth0 client’s Application metadata in the custom hosted login page? I see the config object available in the login page has below details from the request, but nothing related to the Applicatio…

---

## [Assigning user roles with an associated project id](https://community.auth0.com/t/assigning-user-roles-with-an-associated-project-id/51217)

<div class="topic-metadata">

**Author:** [@izzopod](https://community.auth0.com/u/izzopod)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 9:57pm UTC](https://community.auth0.com/t/assigning-user-roles-with-an-associated-project-id/51217 "2020-10-12T21:57:21Z")

</div>

Hello, I’m trying to implement authorization based on a combination of user roles and projects. If a user has a specific role for a project, then it will be given certain permissions only within the project. I want to b…

---

## [Trying to get app\_metadata from /userinfo endpoint](https://community.auth0.com/t/trying-to-get-app-metadata-from-userinfo-endpoint/48385)

<div class="topic-metadata">

**Author:** [@nathleia.llc](https://community.auth0.com/u/nathleia.llc)\
**Replies:** 1\
**Last updated:** [August 20, 2020, 3:23pm UTC](https://community.auth0.com/t/trying-to-get-app-metadata-from-userinfo-endpoint/48385 "2020-08-20T15:23:22Z")

</div>

I am trying to set things up to be able to get app\_metadata from the /userinfo endpoint. I have looked at topics in here as well as on StackOverflow and have been stymied and confused. Using Custom Claims looks like it d…

---

## [App\_metadata update: "Error! API Error. Please contact support if the problem persists"](https://community.auth0.com/t/app-metadata-update-error-api-error-please-contact-support-if-the-problem-persists/39177)

<div class="topic-metadata">

**Author:** [@Steven3](https://community.auth0.com/u/Steven3)\
**Replies:** 4\
**Last updated:** [March 16, 2020, 9:09am UTC](https://community.auth0.com/t/app-metadata-update-error-api-error-please-contact-support-if-the-problem-persists/39177 "2020-03-16T09:09:57Z")

</div>

Hi all, When I try to update the JSON of “app\_metadata” through the GUI interface of Auth0, I receive the error “Error! API Error. Please contact support if the problem persists”. Therefore, I cannot update any app\_me…

---

## [Getting all user details](https://community.auth0.com/t/getting-all-user-details/36371)

<div class="topic-metadata">

**Author:** [@nidhaldring](https://community.auth0.com/u/nidhaldring)\
**Replies:** 3\
**Last updated:** [January 16, 2020, 10:08pm UTC](https://community.auth0.com/t/getting-all-user-details/36371 "2020-01-16T22:08:15Z")

</div>

Hey, i’m a new user of auth0 and i’ve been exploring the api for a couple of days trying to do the following but with no result: check if a user exists with the given email and password if it exists i want to get all …

---

## [Storing app\_metadata in a Customer Connector](https://community.auth0.com/t/storing-app-metadata-in-a-customer-connector/24682)

<div class="topic-metadata">

**Author:** [@NigelGodfrey](https://community.auth0.com/u/NigelGodfrey)\
**Replies:** 2\
**Last updated:** [May 13, 2019, 6:57pm UTC](https://community.auth0.com/t/storing-app-metadata-in-a-customer-connector/24682 "2019-05-13T18:57:53Z")

</div>

I am trying to store the accessToken from an IdP in app\_metadata from within an Custom Social Connection. The Profile is being created correctly. The accessToken is available, as I can use one of the standard Profile fi…

---

## [Storing non-auth user data outside of auth0, custom user\_id in tokens and multiple id providers for the same user](https://community.auth0.com/t/storing-non-auth-user-data-outside-of-auth0-custom-user-id-in-tokens-and-multiple-id-providers-for-the-same-user/21320)

<div class="topic-metadata">

**Author:** [@brodge](https://community.auth0.com/u/brodge)\
**Replies:** 2\
**Last updated:** [February 19, 2019, 2:09pm UTC](https://community.auth0.com/t/storing-non-auth-user-data-outside-of-auth0-custom-user-id-in-tokens-and-multiple-id-providers-for-the-same-user/21320 "2019-02-19T14:09:21Z")

</div>

Hi there, I’m currently implementing Auth0 to provide auth to many microservices. Including a ‘UserService’ that holds non-auth related data about each user. Some of the other microservices need a user identifier to ap…

---

## [Can't list stripe subscriptions data](https://community.auth0.com/t/cant-list-stripe-subscriptions-data/18872)

<div class="topic-metadata">

**Author:** [@manu1](https://community.auth0.com/u/manu1)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 2:11am UTC](https://community.auth0.com/t/cant-list-stripe-subscriptions-data/18872 "2018-12-10T02:11:24Z")

</div>

Hi, I’m trying to create a rule that will retrieve the list of subscriptions from my Stripe customer and add it to the app\_metadata of the user profile. However, when I am receiving the following error: ERROR: Cannot …

---

## [Access Hook-created app\_metadata (Javascript)](https://community.auth0.com/t/access-hook-created-app-metadata-javascript/18538)

<div class="topic-metadata">

**Author:** [@chisnallio](https://community.auth0.com/u/chisnallio)\
**Replies:** 8\
**Last updated:** [December 6, 2018, 12:02pm UTC](https://community.auth0.com/t/access-hook-created-app-metadata-javascript/18538 "2018-12-06T12:02:52Z")

</div>

So I created a pre-registration hook: module.exports = function (user, context, cb) { var response = {}; // External packages uniqid = require(‘uniqid’); keygen = require(‘keygenerator’); // Add app metadata to th…

---

## [What's the best practice to handle metadata?](https://community.auth0.com/t/whats-the-best-practice-to-handle-metadata/9866)

<div class="topic-metadata">

**Author:** [@pierre.h](https://community.auth0.com/u/pierre.h)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 2:19am UTC](https://community.auth0.com/t/whats-the-best-practice-to-handle-metadata/9866 "2018-05-17T02:19:20Z")

</div>

Hi, I am creating a multi-tenant app based on a SPA (Angular) + Node.js back-end + Auth0. I would like my app to exchange user info with Auth0. Based on conversation here, I have creating a rule to add metadata to toke…

---

## [Way to update app\_metadata using lock widget configuration](https://community.auth0.com/t/way-to-update-app-metadata-using-lock-widget-configuration/9615)

<div class="topic-metadata">

**Author:** [@rakesh\_agrawal](https://community.auth0.com/u/rakesh_agrawal)\
**Replies:** 1\
**Last updated:** [March 2, 2018, 4:58pm UTC](https://community.auth0.com/t/way-to-update-app-metadata-using-lock-widget-configuration/9615 "2018-03-02T16:58:32Z")

</div>

hi, Is there a way to update app\_metadata using lock widget configuration. I did not get any pointers from this link: Lock Configuration Options - Auth0 Docs thanks

---

## [ASP.NET Web API2 Framework 4.5.2 access app\_metadata](https://community.auth0.com/t/asp-net-web-api2-framework-4-5-2-access-app-metadata/8870)

<div class="topic-metadata">

**Author:** [@adamaero](https://community.auth0.com/u/adamaero)\
**Replies:** 1\
**Last updated:** [December 4, 2017, 8:01pm UTC](https://community.auth0.com/t/asp-net-web-api2-framework-4-5-2-access-app-metadata/8870 "2017-12-04T20:01:43Z")

</div>

I can’t figure out how to access app\_metadata property in my controller (ASP.NET WebAPI 2) . I added CMP\_KEY in app\_metadata for all users… Here is what I’ve tried so far: //get userID from access\_token(WORKS !): var…

---

## [API Users - metadata search - a bug?](https://community.auth0.com/t/api-users-metadata-search-a-bug/8770)

<div class="topic-metadata">

**Author:** [@zatziky](https://community.auth0.com/u/zatziky)\
**Replies:** 2\
**Last updated:** [December 1, 2017, 12:54am UTC](https://community.auth0.com/t/api-users-metadata-search-a-bug/8770 "2017-12-01T00:54:53Z")

</div>

I am not able to filter the search query for app\_metadata. Our users have this shape: { "connection": "email", "email": "jill@jill.com", "user\_metadata": {"name":"Jill Jill"}, "app\_metadata": { "app"…

---

## [App\_metadata key value changes when using api v2](https://community.auth0.com/t/app-metadata-key-value-changes-when-using-api-v2/8784)

<div class="topic-metadata">

**Author:** [@craig\_airey1](https://community.auth0.com/u/craig_airey1)\
**Replies:** 2\
**Last updated:** [November 20, 2017, 7:59pm UTC](https://community.auth0.com/t/app-metadata-key-value-changes-when-using-api-v2/8784 "2017-11-20T19:59:32Z")

</div>

when setting userName as a key in the request create or update a user the key gets change to name when stored in auth0, there is no rule listed under the metadata page or a restriction listed, has anyone any thoughts on …

---

## [User metadata and JWT token limits](https://community.auth0.com/t/user-metadata-and-jwt-token-limits/8750)

<div class="topic-metadata">

**Author:** [@dcalle](https://community.auth0.com/u/dcalle)\
**Replies:** 1\
**Last updated:** [November 15, 2017, 6:12pm UTC](https://community.auth0.com/t/user-metadata-and-jwt-token-limits/8750 "2017-11-15T18:12:29Z")

</div>

I have some doubts: Are there Auth0 limits in the generated user Jwt? Are there any app\_metadata limits? Relative to: Getting "The generated token is too large" error - Auth0 Community

---

## [App Metadata search not working anymore](https://community.auth0.com/t/app-metadata-search-not-working-anymore/8384)

<div class="topic-metadata">

**Author:** [@derric](https://community.auth0.com/u/derric)\
**Replies:** 5\
**Last updated:** [October 17, 2017, 8:48pm UTC](https://community.auth0.com/t/app-metadata-search-not-working-anymore/8384 "2017-10-17T20:48:28Z")

</div>

We’ve been searching on the app\_metadata for a year with mostly no issues. Now, it is returning empty search results. Please advise. auth0Manager .getUsers({ per\_page: 50, q: \`\_exists\_:app\_metadata.permissions.${escape…

---

## [How to allow a user to modify another user's app\_metadata?](https://community.auth0.com/t/how-to-allow-a-user-to-modify-another-users-app-metadata/8414)

<div class="topic-metadata">

**Author:** [@jordan.eliastam](https://community.auth0.com/u/jordan.eliastam)\
**Replies:** 4\
**Last updated:** [October 12, 2017, 10:53pm UTC](https://community.auth0.com/t/how-to-allow-a-user-to-modify-another-users-app-metadata/8414 "2017-10-12T22:53:56Z")

</div>

We need to allow a user with an elevated role to set/modify the role of other users. Currently we are storing their role in their app\_metadata. How can we allow someone to modify someone else’s app\_metadata from within…

---

## [Is there any way to update the user's app\_metadata before login?](https://community.auth0.com/t/is-there-any-way-to-update-the-users-app-metadata-before-login/7961)

<div class="topic-metadata">

**Author:** [@prakharkumar79](https://community.auth0.com/u/prakharkumar79)\
**Replies:** 2\
**Last updated:** [September 20, 2017, 12:39pm UTC](https://community.auth0.com/t/is-there-any-way-to-update-the-users-app-metadata-before-login/7961 "2017-09-20T12:39:41Z")

</div>

I’m making use of Authorization Extension to manage groups, roles and permissions. I’m persisting this info in user’s app\_metadata. But, when I try to update this info(using endpoints), it doesn’t get updated instantly.…

---

## [App\_metadata missing when getting a user JWT using auth0-java](https://community.auth0.com/t/app-metadata-missing-when-getting-a-user-jwt-using-auth0-java/8075)

<div class="topic-metadata">

**Author:** [@rballantyne](https://community.auth0.com/u/rballantyne)\
**Replies:** 1\
**Last updated:** [September 4, 2017, 2:49pm UTC](https://community.auth0.com/t/app-metadata-missing-when-getting-a-user-jwt-using-auth0-java/8075 "2017-09-04T14:49:51Z")

</div>

We’re using Auth0 as our security provider for a number of microservices / web front end. I’ve been looking at dynamically creating users for our automated tests (we’re currently using fixed users), using the auth0-java …

[Next page](https://community.auth0.com/tag/app-metadata/183.md?match_all_tags=true&page=1&tags%5B%5D=app_metadata)
