# How long apple user id can be?

**URL:** <https://community.auth0.com/t/how-long-apple-user-id-can-be/90105>\
**Category:** Get Help\
**Tags:** sign-in-with-apple, userid, auth0\
**Created:** [September 6, 2022, 10:29pm UTC](https://community.auth0.com/t/how-long-apple-user-id-can-be/90105 "2022-09-06T22:29:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![narges.fallahi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/narges.fallahi/32/32190_2.png) [@narges.fallahi](https://community.auth0.com/u/narges.fallahi)\
**Post date:** [September 6, 2022, 10:29pm UTC](https://community.auth0.com/t/how-long-apple-user-id-can-be/90105/1 "2022-09-06T22:29:07Z")

</div>

We recently added apple signup as a new idp to our system, and we have a 50 char length limit for our user ids. i noticed in our sandbox env that some of these user ids are exactly at 50 charactes, e.g. apple|001756.843ec43506f94d01902dfd2489822648.2152 . just wanted to make sure this is the longest they get or should we remove all max length restrictions form our db? thanks

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 8, 2022, 12:42am UTC](https://community.auth0.com/t/how-long-apple-user-id-can-be/90105/3 "2022-09-08T00:42:40Z")

</div>

Hey there @narges.fallahi !

> [@narges.fallahi](#):
>
> just wanted to make sure this is the longest they get or should we remove all max length restrictions form our db? thanks

As far as I’m aware the limit for all connection types is 255 characters - Perhaps you’d like to adjust to that just in case?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 23, 2022, 12:43am UTC](https://community.auth0.com/t/how-long-apple-user-id-can-be/90105/4 "2022-09-23T00:43:36Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
