I'm currently using custom claims to store project-based permissions in my firebase app. However, I have quickly hit the 1000b limit due to lots of projects. The nature of the app means a user will be creating hundreds, if not thousands of projects.
Does anyone have any idea how to get around this size limit without resorting to storing permissions in rtdb (this would mean permissions aren't accessible throughout the Google ecosystem e.g storage).
I found this answer which implied I can somehow store single byte keys. Whilst my values are already a single character, my keys are UUIDs. How would I go about achieving condensing these keys? - somehow map a single byte to a UUID? I'm currently using claims on the client, cloud functions, and in db rules.
An alternative I was contemplating was to use custom JWT tokens as, as far as I can tell, these might not have the same size limit for claims.
Any help would be appreciated!