Organisation Metadata max length

The organisation_metadata appears to function quite differently to users app_metadata. However, we had planned to use them similarly, as access information to store what features/modules the organisation has paid for and has access to. However the org_metadata appears to be quite restrictive in that it uses raw text instead of valid JSON and each slot has a very short character limit (255 characters).

Are there any plans in future for a less restrictive metadata field for organisations?

1 Like

Hi @diarmuid.byrne,

Thanks for reaching out to the Auth0 Community!

I have just checked the organization metadata values using the Management API Get an Organization endpoint and did not find the same observations. The values are in JSON and not in raw text. Could you please clarify where and how you observe the raw text format?

My results showed:

{
  "id": "org_91aHlTqTBtIrzd1C",
  "name": "test-org",
  "display_name": "test-org",
  "metadata": {
    "test": "metadata"
  }
}

Currently, the 255 character limit enforced for the organization metadata cannot be changed, and there are no plans to increase the character limit. Moreover, the 255 character limit is a large number, could you please elaborate further on the KEY:VALUE pairs you are creating?

And are you currently exceeding this character limit?

I am looking forward to your reply.

Thank you.

1 Like